]> granicus.if.org Git - apache/commitdiff
Shutdown fixes
authorBrian Pane <brianp@apache.org>
Wed, 22 May 2002 00:47:31 +0000 (00:47 +0000)
committerBrian Pane <brianp@apache.org>
Wed, 22 May 2002 00:47:31 +0000 (00:47 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95208 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/experimental/leader/leader.c

index 8dff2d966bf948a3cbe99a255948bf41b6d7c913..c9411767a113663f41ab2de6fa9a0aef4ad11ded 100644 (file)
@@ -426,6 +426,7 @@ static void signal_threads(int mode)
         return;
     }
     terminate_mode = mode;
+    workers_may_exit = 1;
 
     worker_stack_term(idle_worker_stack);
 }
@@ -952,8 +953,6 @@ static void *worker_thread(apr_thread_t *thd, void * dummy)
         }
     }
 
-    workers_may_exit = 1;
-    worker_stack_term(idle_worker_stack);
     dying = 1;
     ap_scoreboard_image->parent[process_slot].quiescing = 1;