mirror of
https://github.com/reactos/reactos.git
synced 2025-06-26 05:59:42 +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 */
|
/* Close the port and exit the thread */
|
||||||
NtClose(ServerPort);
|
NtClose(ServerPort);
|
||||||
NtTerminateThread(NtCurrentThread(), STATUS_SUCCESS);
|
RtlExitUserThread(STATUS_SUCCESS);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**********************************************************************
|
/**********************************************************************
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue