From 0c177ced42ad2ccd69b27a1f60a34702bc33d67c Mon Sep 17 00:00:00 2001 From: Ivan Savenko Date: Sun, 24 Dec 2023 22:31:02 +0200 Subject: [PATCH] Disable lobby reconnection logic due to deadlock on shutdown --- server/NetPacksLobbyServer.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/server/NetPacksLobbyServer.cpp b/server/NetPacksLobbyServer.cpp index a079309ef..63258d471 100644 --- a/server/NetPacksLobbyServer.cpp +++ b/server/NetPacksLobbyServer.cpp @@ -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)