libubox: runqueue: Cancel task timeout when completeing task
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
This commit is contained in:
parent
e58fa88e1f
commit
bbd846ec2d
1 changed files with 2 additions and 0 deletions
|
@ -224,6 +224,8 @@ void runqueue_task_complete(struct runqueue_task *t)
|
|||
if (t->running)
|
||||
t->q->running_tasks--;
|
||||
|
||||
uloop_timeout_cancel(&t->timeout);
|
||||
|
||||
safe_list_del(&t->list);
|
||||
t->queued = false;
|
||||
t->running = false;
|
||||
|
|
Loading…
Reference in a new issue