From: William A. Rowe Jr Date: Tue, 14 Aug 2001 19:42:54 +0000 (+0000) Subject: Outch to Win9x... can't be destroying locks asymetrically. Do we want X-Git-Tag: 2.0.24~98 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5c241d15002827a87665e2cff488865b91db8e9e;p=apache Outch to Win9x... can't be destroying locks asymetrically. Do we want this lock on NT as well? That's another question. Submitted by: Mladen Turk git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90161 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/winnt/mpm_winnt.c b/server/mpm/winnt/mpm_winnt.c index 81352c88d5..f27ae67fca 100644 --- a/server/mpm/winnt/mpm_winnt.c +++ b/server/mpm/winnt/mpm_winnt.c @@ -1165,7 +1165,8 @@ static void child_main() CloseHandle(allowed_globals.jobsemaphore); apr_lock_destroy(allowed_globals.jobmutex); - apr_lock_destroy(qlock); + if (osver.dwPlatformId != VER_PLATFORM_WIN32_WINDOWS) + apr_lock_destroy(qlock); apr_pool_destroy(pchild); CloseHandle(exit_event);