mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-28 08:48:48 +02:00
Disable lobby reconnection logic due to deadlock on shutdown
This commit is contained in:
parent
4835a1f695
commit
0c177ced42
@ -189,11 +189,11 @@ void ApplyOnServerAfterAnnounceNetPackVisitor::visitLobbyClientDisconnected(Lobb
|
||||
}
|
||||
srv.updateAndPropagateLobbyState();
|
||||
|
||||
if(srv.getState() != EServerState::SHUTDOWN && srv.remoteConnections.count(pack.c))
|
||||
{
|
||||
srv.remoteConnections -= pack.c;
|
||||
srv.connectToRemote();
|
||||
}
|
||||
// if(srv.getState() != EServerState::SHUTDOWN && srv.remoteConnections.count(pack.c))
|
||||
// {
|
||||
// srv.remoteConnections -= pack.c;
|
||||
// srv.connectToRemote();
|
||||
// }
|
||||
}
|
||||
|
||||
void ClientPermissionsCheckerNetPackVisitor::visitLobbyChatMessage(LobbyChatMessage & pack)
|
||||
|
Loading…
Reference in New Issue
Block a user