1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-12-01 23:12:49 +02:00

Fix connection termination handling

This commit is contained in:
Ivan Savenko
2024-05-13 14:09:59 +00:00
parent 2bb96018b8
commit 93038b791e
3 changed files with 7 additions and 4 deletions

View File

@@ -51,6 +51,8 @@ void GlobalLobbyProcessor::onDisconnected(const std::shared_ptr<INetworkConnecti
message["accountID"].String() = proxy.first;
sendMessage(controlConnection, message);
proxyConnections.erase(proxy.first);
break;
}
}