forked from cory/tildefriends
More minor output changes.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3697 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
parent
58b0b54785
commit
9faa4c9ca6
@ -1300,7 +1300,6 @@ void tf_task_activate(tf_task_t* task)
|
||||
JS_SetPropertyStr(context, global, "Task", tf_taskstub_register(context));
|
||||
JS_SetPropertyStr(context, global, "Socket", tf_socket_register(context));
|
||||
JS_SetPropertyStr(context, global, "TlsContext", tf_tls_context_register(context));
|
||||
tf_database_register(context, task->_db);
|
||||
tf_file_register(context);
|
||||
|
||||
task->_trace = tf_trace_create();
|
||||
@ -1408,8 +1407,10 @@ void tf_task_destroy(tf_task_t* task)
|
||||
sqlite3_close(task->_db);
|
||||
}
|
||||
|
||||
if (uv_loop_close(&task->_loop) != 0)
|
||||
{
|
||||
uv_print_all_handles(&task->_loop, stdout);
|
||||
uv_loop_close(&task->_loop);
|
||||
}
|
||||
--_count;
|
||||
free((void*)task->_path);
|
||||
free(task);
|
||||
|
Loading…
Reference in New Issue
Block a user