diff --git a/programs/explorer/explorer.c b/programs/explorer/explorer.c index 0f7c2571f60..f261e117e73 100644 --- a/programs/explorer/explorer.c +++ b/programs/explorer/explorer.c @@ -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; }