mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +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:
@@ -419,9 +419,8 @@ NTSTATUS TCPShutdown(VOID)
|
||||
return STATUS_SUCCESS;
|
||||
|
||||
WaitForThread.QuadPart = -2500000; /* 250 ms */
|
||||
KeSetEvent(&TimerLoopEvent, IO_NO_INCREMENT, TRUE);
|
||||
KeWaitForSingleObject(&TimerThreadHandle, Executive, KernelMode,
|
||||
FALSE, &WaitForThread);
|
||||
KeSetEvent(&TimerLoopEvent, IO_NO_INCREMENT, FALSE);
|
||||
ZwWaitForSingleObject(TimerThreadHandle, FALSE, &WaitForThread);
|
||||
|
||||
/* Deregister this protocol with IP layer */
|
||||
IPRegisterProtocol(IPPROTO_TCP, NULL);
|
||||
|
||||
Reference in New Issue
Block a user