]> granicus.if.org Git - apache/commitdiff
Removed unnecessary pool cleanup after a restart or shutdown
authorBradley Nicholes <bnicholes@apache.org>
Wed, 28 Aug 2002 19:56:32 +0000 (19:56 +0000)
committerBradley Nicholes <bnicholes@apache.org>
Wed, 28 Aug 2002 19:56:32 +0000 (19:56 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96560 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/netware/mpm_netware.c

index 56f81ea405c5326e62a95d6854634ce8accd2099..6dc280d02752cb8aedb484f70c394d7c3965c86f 100644 (file)
@@ -945,7 +945,6 @@ int ap_mpm_run(apr_pool_t *_pconf, apr_pool_t *plog, server_rec *s)
         while (worker_thread_count > 0)
             apr_thread_yield();
 
-        apr_pool_destroy (pmain);
         return 1;
     }
     else {  /* the only other way out is a restart */
@@ -965,7 +964,6 @@ int ap_mpm_run(apr_pool_t *_pconf, apr_pool_t *plog, server_rec *s)
             apr_thread_yield();
         }
         DBPRINT0 ("restarting...\n");
-        apr_pool_destroy (pmain);
     }
 
     return 0;