You've already forked lidgren-network-gen3
mirror of
https://github.com/lidgren/lidgren-network-gen3.git
synced 2026-05-17 07:36:32 +09:00
Disconnect issue fixed
This commit is contained in:
@@ -138,6 +138,12 @@ namespace Lidgren.Network
|
|||||||
if (now > m_sentPingTime + m_peer.m_configuration.m_pingInterval)
|
if (now > m_sentPingTime + m_peer.m_configuration.m_pingInterval)
|
||||||
SendPing();
|
SendPing();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (m_disconnectRequested)
|
||||||
|
{
|
||||||
|
ExecuteDisconnect(m_disconnectMessage, true);
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool connectionReset; // TODO: handle connection reset
|
bool connectionReset; // TODO: handle connection reset
|
||||||
|
|||||||
Reference in New Issue
Block a user