0ad/source/network
elexis 2ccd10e566 Fix missing returns after disconnect in 95179c5e46.
Patch by @elexis.

The package sent in fa85527baf / #2420 plus this missing return causes the NetServerTurnManager
to be stalled forever if a client succeeds to send this package on disconnect.

In NotifyFinishedClientCommands, Disconnect calls OnDisconnect calls UninitialiseClient calls m_ClientsData.erase,
but then m_ClientsData[client].readyTurn = turn; reinserts the disconnected client, making the turnmanager wait forever for the disconnected client.

refs https://wildfiregames.com/forum/topic/134742-bug-game-incredibly-slowfreeze-at-start-because-because-of-1-player/
2025-10-12 12:39:41 +02:00
..
scripting Fix includes in source/network 2025-07-23 18:18:47 +02:00
tests Fix some includes all over the place 2025-08-14 20:15:30 +02:00
FSM.h Fix includes in source/network 2025-07-23 18:18:47 +02:00
NetClient.cpp Fix some includes all over the place 2025-08-13 19:38:21 +02:00
NetClient.h Fix includes in source/network 2025-07-23 18:18:47 +02:00
NetClientTurnManager.cpp Fix includes in source/network 2025-07-23 18:18:47 +02:00
NetClientTurnManager.h Fix includes in source/network 2025-07-23 18:18:47 +02:00
NetEnet.cpp Remove custom span and use std::span 2025-08-24 11:09:57 +02:00
NetEnet.h Fix includes in source/network 2025-07-23 18:18:47 +02:00
NetFileTransfer.cpp Fix some includes all over the place 2025-08-13 19:38:21 +02:00
NetFileTransfer.h Fix some includes all over the place 2025-08-13 19:38:21 +02:00
NetHost.cpp Fix includes in source/network 2025-07-23 18:18:47 +02:00
NetHost.h Fix includes in source/network 2025-07-23 18:18:47 +02:00
NetMessage.cpp Fix includes in source/network 2025-07-23 18:18:47 +02:00
NetMessage.h Fix includes in source/network 2025-07-23 18:18:47 +02:00
NetMessages.h Remove ScriptTypes and ScriptExtraHeaders headers 2025-09-14 13:17:18 +02:00
NetMessageSim.cpp Prefer [[maybe_unused]] over UNUSED2 2025-07-28 13:16:37 +02:00
NetProtocol.cpp Fix some includes all over the place 2025-08-13 19:38:21 +02:00
NetProtocol.h Fix includes in source/network 2025-07-23 18:18:47 +02:00
NetServer.cpp Fix NetServerTurnManager hanging if a client passed handshake but not authentication on gamestart. 2025-09-27 10:02:46 +02:00
NetServer.h Remove ScriptTypes and ScriptExtraHeaders headers 2025-09-14 13:17:18 +02:00
NetServerTurnManager.cpp Fix missing returns after disconnect in 95179c5e46. 2025-10-12 12:39:41 +02:00
NetServerTurnManager.h Fix some includes all over the place 2025-08-13 19:38:21 +02:00
NetSession.cpp Fix includes in source/network 2025-07-23 18:18:47 +02:00
NetSession.h Fix some includes all over the place 2025-08-13 19:38:21 +02:00
NetStats.cpp Fix includes in source/network 2025-07-23 18:18:47 +02:00
NetStats.h Fix includes in source/network 2025-07-23 18:18:47 +02:00
NMTCreator.h Prefer [[maybe_unused]] over UNUSED2 2025-07-28 13:16:37 +02:00
Serialization.h Fix includes in source/network 2025-07-23 18:18:47 +02:00
StringConverters.h Fix includes in source/network 2025-07-23 18:18:47 +02:00
StunClient.cpp Make requirements sufficient in StunClient 2025-08-12 20:45:16 +02:00
StunClient.h Fix includes in source/network 2025-07-23 18:18:47 +02:00