1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-16 23:26:32 +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:
Michael Lidgren
2015-01-25 16:05:49 +01:00
parent 4b7b53b36d
commit 5879fb641e
12 changed files with 56 additions and 49 deletions

View File

@@ -313,6 +313,8 @@ namespace Lidgren.Network
m_sendBufferWritePtr = 0;
m_sendBufferNumMessages = 0;
}
Interlocked.Decrement(ref om.m_recyclingCount);
}
/// <summary>
@@ -367,7 +369,6 @@ namespace Lidgren.Network
}
else
{
switch (method)
{
case NetDeliveryMethod.Unreliable: