From 5c241d15002827a87665e2cff488865b91db8e9e Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Tue, 14 Aug 2001 19:42:54 +0000 Subject: [PATCH] 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 --- server/mpm/winnt/mpm_winnt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.50.1