If RecycleBaseUDPPackets = true, also pool IncomingPackets to reduce memory churn

This commit is contained in:
Justin Clark-Casey (justincc)
2012-10-17 21:08:15 +01:00
parent f35826eb31
commit 2ed59ad8ac
2 changed files with 30 additions and 2 deletions

View File

@@ -45,7 +45,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP
public Packet Packet;
/// <summary>
/// Default constructor
/// No arg constructor.
/// </summary>
public IncomingPacket() {}
/// <summary>
/// Constructor
/// </summary>
/// <param name="client">Reference to the client this packet came from</param>
/// <param name="packet">Packet data</param>