aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs11
1 files changed, 7 insertions, 4 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
index 672ed3c..6714012 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
@@ -522,8 +522,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
522 Random rnd = new Random(Util.EnvironmentTickCount()); 522 Random rnd = new Random(Util.EnvironmentTickCount());
523 m_animationSequenceNumber = rnd.Next(11474826); 523 m_animationSequenceNumber = rnd.Next(11474826);
524 524
525 if (usePools) 525// if (usePools)
526 EnablePools(); 526// EnablePools();
527 DisablePools();
527 } 528 }
528 529
529 public void Start() 530 public void Start()
@@ -2027,10 +2028,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP
2027 if (incomingPacket != null && IsRunningInbound) 2028 if (incomingPacket != null && IsRunningInbound)
2028 { 2029 {
2029 ProcessInPacket(incomingPacket); 2030 ProcessInPacket(incomingPacket);
2030 2031
2031 if (UsePools) 2032 if (UsePools)
2033 {
2034 incomingPacket.Client = null;
2032 m_incomingPacketPool.ReturnObject(incomingPacket); 2035 m_incomingPacketPool.ReturnObject(incomingPacket);
2033 2036 }
2034 incomingPacket = null; 2037 incomingPacket = null;
2035 } 2038 }
2036 } 2039 }