Fixed some socket leaks.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3897 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2022-06-07 02:41:44 +00:00
parent 1dc6084d2d
commit 83bdbbb4dc
3 changed files with 5 additions and 7 deletions

View File

@ -168,6 +168,7 @@ static void _util_timeoutCallback(uv_timer_t* handle)
NULL);
tf_util_report_error(context, result);
JS_FreeValue(context, result);
JS_FreeValue(context, timeout->_callback);
tf_trace_end(tf_task_get_trace(timeout->_task));
tf_free(timeout);
uv_close((uv_handle_t*)handle, _handle_closed);