mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2025-07-04 00:36:14 +00:00
fix typo that prevented TCP thread from shutting down properly
sometimes, i guess
This commit is contained in:
parent
96c93a6aa6
commit
2e112fc5f1
@ -18,7 +18,7 @@ TNetwork::TNetwork(TServer& Server, TPPSMonitor& PPSMonitor, TResourceManager& R
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
Application::RegisterShutdownHandler([&] {
|
Application::RegisterShutdownHandler([&] {
|
||||||
if (mUDPThread.joinable()) {
|
if (mTCPThread.joinable()) {
|
||||||
debug("shutting down TCPServer");
|
debug("shutting down TCPServer");
|
||||||
mShutdown = true;
|
mShutdown = true;
|
||||||
mTCPThread.detach();
|
mTCPThread.detach();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user