From 53a350573e7751707696b1b5f34ae4ab1dbdfc5a Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Sun, 10 May 2009 20:31:45 +0000 Subject: * Further testing against core packet issue. --- OpenSim/Region/ClientStack/LindenUDP/LLPacketQueue.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'OpenSim') diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLPacketQueue.cs b/OpenSim/Region/ClientStack/LindenUDP/LLPacketQueue.cs index bb0c0c7..594a943 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLPacketQueue.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLPacketQueue.cs @@ -243,8 +243,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP return item; lock (contents) { - if (contents.Remove(item.Sequence)) - return item; + if (contents.Contains(item.Sequence)) + if (contents.Remove(item.Sequence)) + return item; } } } -- cgit v1.1