Trying Melanie's fix
parent
c855806548
commit
74fe284a20
|
@ -111,11 +111,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
|||
{
|
||||
lock (SyncRoot)
|
||||
{
|
||||
if (packets.Count == 0)
|
||||
return null;
|
||||
OutgoingPacket p;
|
||||
|
||||
using (SortedDictionary<uint, OutgoingPacket>.ValueCollection.Enumerator e = packets.Values.GetEnumerator())
|
||||
return e.Current;
|
||||
p = e.Current;
|
||||
|
||||
return p;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue