mirror of
https://github.com/reactos/reactos.git
synced 2024-06-01 18:21:50 +00:00
Close the mutex handle even though the process is about to die
This commit is contained in:
parent
54e7d75ace
commit
946f643816
|
@ -269,6 +269,10 @@ ParseCmdAndExecute(LPWSTR lpCmdLine, BOOL bIsFirstLaunch, int nCmdShow)
|
|||
SwitchToThisWindow(hWindow, TRUE);
|
||||
if (bAppwizMode)
|
||||
PostMessage(hWindow, WM_COMMAND, ID_ACTIVATE_APPWIZ, 0);
|
||||
|
||||
if (hMutex)
|
||||
CloseHandle(hMutex);
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue