ssb: More shutdown correctness. #108
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 32m26s

This commit is contained in:
Cory McWilliams 2025-04-30 12:35:40 -04:00
parent 2597f99ccf
commit 3c04abda45

View File

@ -1869,15 +1869,15 @@ void tf_task_destroy(tf_task_t* task)
uv_close((uv_handle_t*)&timeout->_timer, _timeout_closed);
}
if (task->_ssb)
{
tf_ssb_destroy(task->_ssb);
}
if (task->_http)
{
tf_httpd_destroy(task->_http);
task->_http = NULL;
}
if (task->_ssb)
{
tf_ssb_destroy(task->_ssb);
}
JS_FreeContext(task->_context);
JS_FreeRuntime(task->_runtime);