Applying the real fix (thank you for tracking that MSDN doc down Melanie)
parent
74fe284a20
commit
9cb5db3621
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue