]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
mpm_worker: follow up to r1821624.
authorYann Ylavic <ylavic@apache.org>
Fri, 19 Jan 2018 13:30:19 +0000 (13:30 +0000)
committerYann Ylavic <ylavic@apache.org>
Fri, 19 Jan 2018 13:30:19 +0000 (13:30 +0000)
Free idle pools while stopping.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821650 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/worker/worker.c

index 3cef5d7fcdc23f1f2f04c3af62d42ad69836c03f..3cf5460e42ffd6eaacd959a54484c02506e4af2e 100644 (file)
@@ -743,6 +743,7 @@ static void * APR_THREAD_FUNC listener_thread(apr_thread_t *thd, void * dummy)
     }
 
     ap_close_listeners_ex(my_bucket->listeners);
+    ap_free_idle_pools(worker_queue_info);
     ap_queue_term(worker_queue);
     dying = 1;
     ap_scoreboard_image->parent[process_slot].quiescing = 1;