projects
/
project
/
libubox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e58fa88
)
libubox: runqueue: Cancel task timeout when completeing task
author
Helmut Schaa
<helmut.schaa@googlemail.com>
Wed, 15 Jan 2014 15:09:19 +0000
(15:09 +0000)
committer
John Crispin
<blogic@openwrt.org>
Wed, 29 Jan 2014 03:32:30 +0000
(
03:32
+0000)
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
runqueue.c
patch
|
blob
|
history
diff --git
a/runqueue.c
b/runqueue.c
index
1784e30
..
1d9fa4b
100644
(file)
--- 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;