commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1813325 - /commons/proper/daemon/trunk/src/native/windows/apps/prunsrv/prunsrv.c
Date Wed, 25 Oct 2017 17:36:20 GMT
Author: markt
Date: Wed Oct 25 17:36:20 2017
New Revision: 1813325

URL: http://svn.apache.org/viewvc?rev=1813325&view=rev
Log:
Make fix for DAEMON-195 permanent

Modified:
    commons/proper/daemon/trunk/src/native/windows/apps/prunsrv/prunsrv.c

Modified: commons/proper/daemon/trunk/src/native/windows/apps/prunsrv/prunsrv.c
URL: http://svn.apache.org/viewvc/commons/proper/daemon/trunk/src/native/windows/apps/prunsrv/prunsrv.c?rev=1813325&r1=1813324&r2=1813325&view=diff
==============================================================================
--- commons/proper/daemon/trunk/src/native/windows/apps/prunsrv/prunsrv.c (original)
+++ commons/proper/daemon/trunk/src/native/windows/apps/prunsrv/prunsrv.c Wed Oct 25 17:36:20
2017
@@ -1313,12 +1313,6 @@ void WINAPI service_ctrl_handler(DWORD d
                                       serviceStop,
                                       (LPVOID)dwCtrlCode,
                                       0, &threadId);
-#if 0
-            /* Seems we don't need to wait for the stop thread
-             * to finish
-             */
-            WaitForSingleObject(stopThread, INFINITE);
-#endif
             CloseHandle(stopThread);
             return;
         case SERVICE_CONTROL_INTERROGATE:



Mime
View raw message