forked from cory/tildefriends
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:
parent
2f83ecc1ac
commit
f479165aac
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user