diff options
author | UbitUmarov | 2015-12-09 22:32:48 +0000 |
---|---|---|
committer | UbitUmarov | 2015-12-09 22:32:48 +0000 |
commit | bbe55df6c6cb486db2c269f8150ffaa62723c27d (patch) | |
tree | f534f6382c29b02d062a409da4895016652c2485 /OpenSim/Region/ClientStack/Linden | |
parent | don't keep a reference to config, if not in use (diff) | |
download | opensim-SC-bbe55df6c6cb486db2c269f8150ffaa62723c27d.zip opensim-SC-bbe55df6c6cb486db2c269f8150ffaa62723c27d.tar.gz opensim-SC-bbe55df6c6cb486db2c269f8150ffaa62723c27d.tar.bz2 opensim-SC-bbe55df6c6cb486db2c269f8150ffaa62723c27d.tar.xz |
disable useless and totally wrong incoming Pools
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs | 11 |
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 | } |