Commit 6efdf588 authored by Dietmar Maurer's avatar Dietmar Maurer

fix bug #575: fork at shutdown, so that partent starts new worker

parent b9268e65
......@@ -1441,6 +1441,11 @@ sub wait_end_loop {
return;
}
# fork and exit, so that parent starts a new worker
if (fork()) {
exit(0);
}
# else we need to wait until all open connections gets closed
my $w; $w = AnyEvent->timer (after => 1, interval => 1, cb => sub {
eval {
......
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