1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-16 23:26:32 +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

@@ -75,6 +75,7 @@ namespace ChatClient
Output("Unhandled type: " + im.MessageType + " " + im.LengthBytes + " bytes");
break;
}
s_client.Recycle(im);
}
}

View File

@@ -87,6 +87,7 @@ namespace ChatServer
Output("Unhandled type: " + im.MessageType + " " + im.LengthBytes + " bytes " + im.DeliveryMethod + "|" + im.SequenceChannel);
break;
}
s_server.Recycle(im);
}
Thread.Sleep(1);
}