close proceed event

This commit is contained in:
zeffy
2018-03-09 04:19:17 -08:00
parent 3aec51069e
commit 2f05279c38

View File

@@ -60,6 +60,7 @@ DWORD WINAPI cb_start(HANDLE *pParam)
goto close_handles; goto close_handles;
} }
SetEvent(hProceedEvent); SetEvent(hProceedEvent);
CloseHandle(hProceedEvent);
hSCM = OpenSCManagerW(NULL, NULL, SC_MANAGER_CONNECT); hSCM = OpenSCManagerW(NULL, NULL, SC_MANAGER_CONNECT);
if ( !hSCM ) { if ( !hSCM ) {