Commit 8ea26313 authored by William A. Rowe Jr's avatar William A. Rowe Jr
Browse files

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>

Backport: r607677

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@607679 13f79535-47bb-0310-9956-ffa450edef68
parent 97be556f
Loading
Loading
Loading
Loading
+2 −0
Changes for server/mpm/winnt/mpm_winnt.c: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -990,9 +990,11 @@ die_now:
                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 */
}