* Attempting to diagnose a core packet issue on Windows/.NET. Adding additional locks to see if it fixes the problem.

0.6.5-rc1
Adam Frisby 2009-05-10 20:25:05 +00:00
parent 65c0996a9c
commit da948a992a
1 changed files with 5 additions and 2 deletions

View File

@ -241,8 +241,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP
item.TickCount = System.Environment.TickCount;
if (item.Sequence == 0)
return item;
if (contents.Remove(item.Sequence))
return item;
lock (contents)
{
if (contents.Remove(item.Sequence))
return item;
}
}
}