mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
There's a difference between a handle and an object... Sorry about this
svn path=/trunk/; revision=20320
This commit is contained in:
parent
c5454d2a4b
commit
d22675a805
1 changed files with 2 additions and 3 deletions
|
@ -419,9 +419,8 @@ NTSTATUS TCPShutdown(VOID)
|
||||||
return STATUS_SUCCESS;
|
return STATUS_SUCCESS;
|
||||||
|
|
||||||
WaitForThread.QuadPart = -2500000; /* 250 ms */
|
WaitForThread.QuadPart = -2500000; /* 250 ms */
|
||||||
KeSetEvent(&TimerLoopEvent, IO_NO_INCREMENT, TRUE);
|
KeSetEvent(&TimerLoopEvent, IO_NO_INCREMENT, FALSE);
|
||||||
KeWaitForSingleObject(&TimerThreadHandle, Executive, KernelMode,
|
ZwWaitForSingleObject(TimerThreadHandle, FALSE, &WaitForThread);
|
||||||
FALSE, &WaitForThread);
|
|
||||||
|
|
||||||
/* Deregister this protocol with IP layer */
|
/* Deregister this protocol with IP layer */
|
||||||
IPRegisterProtocol(IPPROTO_TCP, NULL);
|
IPRegisterProtocol(IPPROTO_TCP, NULL);
|
||||||
|
|
Loading…
Reference in a new issue