You've already forked lidgren-network-gen3
mirror of
https://github.com/lidgren/lidgren-network-gen3.git
synced 2026-05-06 02:11:06 +09:00
Rev397-400 on google code; fixes to recycling and minor tweak to heartbeat calling when a disconnection occurs
This commit is contained in:
@@ -139,7 +139,7 @@ namespace Lidgren.Network
|
||||
if (storedMessage != null)
|
||||
{
|
||||
#endif
|
||||
if (Interlocked.Decrement(ref storedMessage.m_recyclingCount) <= 0)
|
||||
if (storedMessage.m_recyclingCount <= 0)
|
||||
m_connection.m_peer.Recycle(storedMessage);
|
||||
|
||||
#if !DEBUG
|
||||
|
||||
Reference in New Issue
Block a user