mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2025-07-03 16:25:35 +00:00
hotfix register thread *again*
This commit is contained in:
parent
44f2fdfa7c
commit
603663ed2c
@ -474,8 +474,8 @@ void TNetwork::TCPClient(const std::weak_ptr<TClient>& c) {
|
||||
mServer.RemoveClient(c);
|
||||
return;
|
||||
}
|
||||
RegisterThread("(" + std::to_string(c.lock()->GetID()) + ") \"" + c.lock()->GetName() + "\"");
|
||||
OnConnect(c);
|
||||
RegisterThread("(" + std::to_string(c.lock()->GetID()) + ") \"" + c.lock()->GetName() + "\"");
|
||||
while (true) {
|
||||
if (c.expired())
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user