X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=runqueue.c;h=1d9fa4b3a120d1231e9830868b92de686ad653cd;hb=131b3352d9005895fdd6b1c9fb9cb1263469773b;hp=1784e304b8555188fd6e70a81b1bf37c9344dda0;hpb=bc8167eb99bc6febc96f4dab0bbce32186f30c16;p=project%2Flibubox.git diff --git a/runqueue.c b/runqueue.c index 1784e30..1d9fa4b 100644 --- a/runqueue.c +++ b/runqueue.c @@ -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;