Fixes 'tildefriends test'.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4794 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
Cory McWilliams 2024-01-27 01:47:51 +00:00
parent 2f83ecc1ac
commit f479165aac

View File

@ -1629,6 +1629,7 @@ tf_task_t* tf_task_create()
task->signal.data = task; task->signal.data = task;
uv_signal_init(&task->_loop, &task->signal); uv_signal_init(&task->_loop, &task->signal);
uv_signal_start(&task->signal, _tf_task_sigterm, SIGTERM); uv_signal_start(&task->signal, _tf_task_sigterm, SIGTERM);
uv_unref((uv_handle_t*)&task->signal);
return task; return task;
} }