You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ma...@apache.org on 2017/10/25 17:36:20 UTC

svn commit: r1813325 - /commons/proper/daemon/trunk/src/native/windows/apps/prunsrv/prunsrv.c

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: