mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 06:55:44 +00:00
[KERNEL32] set ExitCode when terminating threads in ExitProcess as well
svn path=/trunk/; revision=72654
This commit is contained in:
parent
63df102547
commit
db1b0cb26d
1 changed files with 1 additions and 1 deletions
|
@ -1542,7 +1542,7 @@ ExitProcess(IN UINT uExitCode)
|
|||
RtlAcquirePebLock();
|
||||
|
||||
/* Kill all the threads */
|
||||
NtTerminateProcess(NULL, 0);
|
||||
NtTerminateProcess(NULL, uExitCode);
|
||||
|
||||
/* Unload all DLLs */
|
||||
LdrShutdownProcess();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue