Remove legacy Win32 thread entry state

This commit is contained in:
notmatthewbeshay
2026-03-11 07:56:44 +11:00
parent 78fdd89f9d
commit 2256d0fadd
5 changed files with 5 additions and 16 deletions

View File

@@ -33,9 +33,6 @@ void Connection::_init()
fakeLag = 0;
slowWriteDelay = 50;
saqThreadID = 0;
closeThreadID = 0;
tickCount = 0;
}
@@ -380,7 +377,7 @@ void Connection::close(DisconnectPacket::eDisconnectReason reason, ...)
// return( sum ? (sum / count) : 0 );
// CreateThread(NULL, 0, runClose, this, 0, &closeThreadID);
// CreateThread(NULL, 0, runClose, this, 0, NULL);
running = false;
@@ -525,7 +522,7 @@ void Connection::sendAndQuit()
close(DisconnectPacket::eDisconnect_Closed);
}
#else
CreateThread(NULL, 0, runSendAndQuit, this, 0, &saqThreadID);
CreateThread(NULL, 0, runSendAndQuit, this, 0, NULL);
#endif
}