mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:41:12 +00:00
explorer: Clean up after CreateProcess in WinMain.
This commit is contained in:
parent
c2838c9512
commit
45322bb448
1 changed files with 2 additions and 0 deletions
|
@ -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