mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2026-06-22 08:31:07 +00:00
break on error in client connection
This commit is contained in:
@@ -89,6 +89,7 @@ void ClientNetwork::handle_connection(ip::tcp::socket&& socket) {
|
|||||||
spdlog::error("Unhandled exception in connection handler, connection closing.");
|
spdlog::error("Unhandled exception in connection handler, connection closing.");
|
||||||
spdlog::debug("Exception: {}", e.what());
|
spdlog::debug("Exception: {}", e.what());
|
||||||
m_game_socket.close();
|
m_game_socket.close();
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user