* 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,8 +241,11 @@ 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;
|
||||||
if (contents.Remove(item.Sequence))
|
lock (contents)
|
||||||
return item;
|
{
|
||||||
|
if (contents.Remove(item.Sequence))
|
||||||
|
return item;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue