* Attempting to diagnose a core packet issue on Windows/.NET. Adding additional locks to see if it fixes the problem.
parent
65c0996a9c
commit
da948a992a
|
@ -241,10 +241,13 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
item.TickCount = System.Environment.TickCount;
|
item.TickCount = System.Environment.TickCount;
|
||||||
if (item.Sequence == 0)
|
if (item.Sequence == 0)
|
||||||
return item;
|
return item;
|
||||||
|
lock (contents)
|
||||||
|
{
|
||||||
if (contents.Remove(item.Sequence))
|
if (contents.Remove(item.Sequence))
|
||||||
return item;
|
return item;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public void Cancel(uint sequence)
|
public void Cancel(uint sequence)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue