mirror of
git://source.winehq.org/git/wine.git
synced 2024-08-31 11:44:21 +00:00
explorer: Clean up after CreateProcess in WinMain.
This commit is contained in:
parent
c2838c9512
commit
45322bb448
|
@ -196,6 +196,8 @@ int WINAPI WinMain(HINSTANCE hinstance,
|
|||
if (!rc)
|
||||
return 0;
|
||||
|
||||
CloseHandle(info.hThread);
|
||||
WaitForSingleObject(info.hProcess,INFINITE);
|
||||
CloseHandle(info.hProcess);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue