mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
* Added a sanity check for Mono before trying to enumerate over an empty SortedDictionary
* Changed the order of a log line from DotNetEngine so you can tell whether or not it is actually loading
This commit is contained in:
@@ -111,6 +111,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
{
|
||||
lock (SyncRoot)
|
||||
{
|
||||
if (packets.Count == 0)
|
||||
return null;
|
||||
|
||||
using (SortedDictionary<uint, OutgoingPacket>.ValueCollection.Enumerator e = packets.Values.GetEnumerator())
|
||||
return e.Current;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user