mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
Slight improvement: When terminating the process, kill sibling threads first.
We'll need this for synchronization at process termination among other things. Thanks alex for pointing out that we didn't do this. svn path=/trunk/; revision=28589
This commit is contained in:
parent
2c932d0e3a
commit
067d30c566
1 changed files with 3 additions and 0 deletions
|
@ -567,6 +567,9 @@ ExitProcess(UINT uExitCode)
|
|||
ULONG Request;
|
||||
NTSTATUS Status;
|
||||
|
||||
/* kill sibling threads ... we want to be alone at this point */
|
||||
NtTerminateProcess (NULL, 0);
|
||||
|
||||
/* unload all dll's */
|
||||
LdrShutdownProcess ();
|
||||
|
||||
|
|
Loading…
Reference in a new issue