httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r607677 - /httpd/httpd/trunk/server/mpm/winnt/mpm_winnt.c
Date Mon, 31 Dec 2007 05:40:55 GMT
Author: wrowe
Date: Sun Dec 30 21:40:54 2007
New Revision: 607677

URL: http://svn.apache.org/viewvc?rev=607677&view=rev
Log:
Close the child_exit_event which lives only for the scope
of master_main and was orphaned on each soft or fatal restart.

PR: 40932 
Submitted by: Jeff Robbins <jeffr livedata.com>

Modified:
    httpd/httpd/trunk/server/mpm/winnt/mpm_winnt.c

Modified: httpd/httpd/trunk/server/mpm/winnt/mpm_winnt.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/winnt/mpm_winnt.c?rev=607677&r1=607676&r2=607677&view=diff
==============================================================================
--- httpd/httpd/trunk/server/mpm/winnt/mpm_winnt.c (original)
+++ httpd/httpd/trunk/server/mpm/winnt/mpm_winnt.c Sun Dec 30 21:40:54 2007
@@ -928,9 +928,11 @@
                 event_handles[CHILD_HANDLE] = NULL;
             }
         }
+        CloseHandle(child_exit_event);
         return 0;  /* Tell the caller we do not want to restart */
     }
     winnt_mpm_state = AP_MPMQ_STARTING;
+    CloseHandle(child_exit_event);
     return 1;      /* Tell the caller we want a restart */
 }
 



Mime
View raw message