From bbe55df6c6cb486db2c269f8150ffaa62723c27d Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Wed, 9 Dec 2015 22:32:48 +0000 Subject: disable useless and totally wrong incoming Pools --- OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'OpenSim/Region/ClientStack/Linden') 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 Random rnd = new Random(Util.EnvironmentTickCount()); m_animationSequenceNumber = rnd.Next(11474826); - if (usePools) - EnablePools(); +// if (usePools) +// EnablePools(); + DisablePools(); } public void Start() @@ -2027,10 +2028,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP if (incomingPacket != null && IsRunningInbound) { ProcessInPacket(incomingPacket); - + if (UsePools) + { + incomingPacket.Client = null; m_incomingPacketPool.ReturnObject(incomingPacket); - + } incomingPacket = null; } } -- cgit v1.1