Author: rharabien
Date: Tue Nov 22 15:07:27 2011
New Revision: 54474
URL:
http://svn.reactos.org/svn/reactos?rev=54474&view=rev
Log:
[EXPLORER] - Close thread handle for startup processes in Run and RunOnce keys. Fixes
cmd.exe ghost on first bootcd explorer startup.
Modified:
trunk/reactos/base/shell/explorer/services/startup.c
Modified: trunk/reactos/base/shell/explorer/services/startup.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/servic…
==============================================================================
--- trunk/reactos/base/shell/explorer/services/startup.c [iso-8859-1] (original)
+++ trunk/reactos/base/shell/explorer/services/startup.c [iso-8859-1] Tue Nov 22 15:07:27
2011
@@ -267,6 +267,7 @@
GetExitCodeProcess(info.hProcess, &exit_code);
}
+ CloseHandle(info.hThread);
CloseHandle(info.hProcess);
return exit_code;