diff --git a/OpenSim/Framework/PacketPool.cs b/OpenSim/Framework/PacketPool.cs index 8075ce632c..7e2860e07d 100644 --- a/OpenSim/Framework/PacketPool.cs +++ b/OpenSim/Framework/PacketPool.cs @@ -234,7 +234,8 @@ namespace OpenSim.Framework lock (DataBlocks) { - DataBlocks[typeof(T)].Push(block); + if (DataBlocks[typeof(T)].Count < 50) + DataBlocks[typeof(T)].Push(block); } } }