mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Use RtlExitUserThread instead of NtTerminateThread, so the stack is properly freed.
svn path=/trunk/; revision=16377
This commit is contained in:
parent
f15bf7924f
commit
65ecbfa03d
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ ClientConnectionThread(HANDLE ServerPort)
|
|||
|
||||
/* Close the port and exit the thread */
|
||||
NtClose(ServerPort);
|
||||
NtTerminateThread(NtCurrentThread(), STATUS_SUCCESS);
|
||||
RtlExitUserThread(STATUS_SUCCESS);
|
||||
}
|
||||
|
||||
/**********************************************************************
|
||||
|
|
Loading…
Reference in a new issue