1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-17 01:32:21 +02:00

Revert "Simple implementation of heartbeat package"

This reverts commit 5f344e410a.
This commit is contained in:
Ivan Savenko
2024-05-07 08:31:08 +00:00
parent 4949b98ed3
commit ede92c1a9c
4 changed files with 7 additions and 30 deletions

View File

@ -39,7 +39,7 @@ void NetworkServer::connectionAccepted(std::shared_ptr<NetworkSocket> upcomingCo
}
logNetwork->info("We got a new connection! :)");
auto connection = std::make_shared<NetworkConnection>(*this, upcomingConnection, io);
auto connection = std::make_shared<NetworkConnection>(*this, upcomingConnection);
connections.insert(connection);
connection->start();
listener.onNewConnection(connection);