1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-06 02:11:06 +09:00

Added recycling to a few samples that lacked it

This commit is contained in:
lidgren
2013-05-08 13:26:17 +00:00
parent 4b872d3454
commit 4dffa9dc9b
7 changed files with 8 additions and 2 deletions

View File

@@ -74,6 +74,7 @@ namespace SpeedTestClient
Output("Unhandled type: " + im.MessageType);
break;
}
s_client.Recycle(im);
}
float now = (float)NetTime.Now;

View File

@@ -52,6 +52,7 @@ namespace UnconnectedSample
Peer.Recycle(im);
break;
}
Peer.Recycle(im);
}
System.Threading.Thread.Sleep(1);