* 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,10 +241,13 @@ namespace OpenSim.Region.ClientStack.LindenUDP
item.TickCount = System.Environment.TickCount;
if (item.Sequence == 0)
return item;
lock (contents)
{
if (contents.Remove(item.Sequence))
return item;
}
}
}
public void Cancel(uint sequence)
{