Commit 8e3bcee3 authored by Niels Möller's avatar Niels Möller
Browse files

* src/reaper.c (do_reap): Removed assert(), to allow replacement

of registered callbacks.

Rev: src/reaper.c:1.14
parent 848dbbe7
...@@ -68,8 +68,6 @@ static void do_reap(struct reap *c, ...@@ -68,8 +68,6 @@ static void do_reap(struct reap *c,
{ {
CAST(reaper, closure, c); CAST(reaper, closure, c);
assert(!ALIST_GET(closure->children, pid));
ALIST_SET(closure->children, pid, callback); ALIST_SET(closure->children, pid, callback);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment