mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
Applying the real fix (thank you for tracking that MSDN doc down Melanie)
This commit is contained in:
@@ -111,12 +111,13 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
{
|
||||
lock (SyncRoot)
|
||||
{
|
||||
OutgoingPacket p;
|
||||
|
||||
using (SortedDictionary<uint, OutgoingPacket>.ValueCollection.Enumerator e = packets.Values.GetEnumerator())
|
||||
p = e.Current;
|
||||
|
||||
return p;
|
||||
{
|
||||
if (e.MoveNext())
|
||||
return e.Current;
|
||||
else
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user