diff --git a/src/proxy.c b/src/proxy.c index 7c0732127..e38970106 100644 --- a/src/proxy.c +++ b/src/proxy.c @@ -2198,9 +2198,14 @@ static void do_soft_stop_now() } } + /* we isolate so that we have a chance of stopping listeners in other groups */ + thread_isolate(); + /* stop all stoppable listeners */ protocol_stop_now(); + thread_release(); + /* signal zero is used to broadcast the "stopping" event */ signal_handler(0); }