aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/PacketPool.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Framework/PacketPool.cs b/OpenSim/Framework/PacketPool.cs
index 2c44ae3..119cd68 100644
--- a/OpenSim/Framework/PacketPool.cs
+++ b/OpenSim/Framework/PacketPool.cs
@@ -158,6 +158,7 @@ namespace OpenSim.Framework
158 public void ReturnPacket(Packet packet) { 158 public void ReturnPacket(Packet packet) {
159 return; // packet pool disabled 159 return; // packet pool disabled
160 160
161 /* // Commented out to remove a compiler warning. :)
161 lock(pool) 162 lock(pool)
162 { 163 {
163 PacketType type=packet.Type; 164 PacketType type=packet.Type;
@@ -171,6 +172,7 @@ namespace OpenSim.Framework
171 ((Stack)pool[type]).Push(packet); 172 ((Stack)pool[type]).Push(packet);
172 } 173 }
173 } 174 }
175 */
174 } 176 }
175 } 177 }
176} 178}