mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 00:45:24 +00:00
[EXPLORER] - Close thread handle for startup processes in Run and RunOnce keys. Fixes cmd.exe ghost on first bootcd explorer startup.
svn path=/trunk/; revision=54474
This commit is contained in:
parent
4ce30245de
commit
c3dc125256
1 changed files with 1 additions and 0 deletions
|
@ -267,6 +267,7 @@ static int runCmd(LPWSTR cmdline, LPCWSTR dir, BOOL wait, BOOL minimized)
|
|||
GetExitCodeProcess(info.hProcess, &exit_code);
|
||||
}
|
||||
|
||||
CloseHandle(info.hThread);
|
||||
CloseHandle(info.hProcess);
|
||||
|
||||
return exit_code;
|
||||
|
|
Loading…
Reference in a new issue