ssb: More shutdown correctness. #108
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 32m26s
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 32m26s
This commit is contained in:
parent
2597f99ccf
commit
3c04abda45
@ -1869,15 +1869,15 @@ void tf_task_destroy(tf_task_t* task)
|
|||||||
uv_close((uv_handle_t*)&timeout->_timer, _timeout_closed);
|
uv_close((uv_handle_t*)&timeout->_timer, _timeout_closed);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (task->_ssb)
|
|
||||||
{
|
|
||||||
tf_ssb_destroy(task->_ssb);
|
|
||||||
}
|
|
||||||
if (task->_http)
|
if (task->_http)
|
||||||
{
|
{
|
||||||
tf_httpd_destroy(task->_http);
|
tf_httpd_destroy(task->_http);
|
||||||
task->_http = NULL;
|
task->_http = NULL;
|
||||||
}
|
}
|
||||||
|
if (task->_ssb)
|
||||||
|
{
|
||||||
|
tf_ssb_destroy(task->_ssb);
|
||||||
|
}
|
||||||
|
|
||||||
JS_FreeContext(task->_context);
|
JS_FreeContext(task->_context);
|
||||||
JS_FreeRuntime(task->_runtime);
|
JS_FreeRuntime(task->_runtime);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user