Close the mutex handle even though the process is about to die

This commit is contained in:
Whindmar Saksit 2023-08-28 23:51:27 +02:00 committed by GitHub
parent 54e7d75ace
commit 946f643816
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}
}