mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 20:33:22 +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);
|
GetExitCodeProcess(info.hProcess, &exit_code);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CloseHandle(info.hThread);
|
||||||
CloseHandle(info.hProcess);
|
CloseHandle(info.hProcess);
|
||||||
|
|
||||||
return exit_code;
|
return exit_code;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue