mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 05:45:37 +08:00
* Attempting to diagnose a core packet issue on Windows/.NET. Adding additional locks to see if it fixes the problem.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user