explorer: Clean up after CreateProcess in WinMain.

This commit is contained in:
Rob Shearman 2008-02-25 09:00:19 +00:00 committed by Alexandre Julliard
parent c2838c9512
commit 45322bb448

View file

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