diff options
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Framework/EventQueueGetModule.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Modules/Framework/EventQueueGetModule.cs b/OpenSim/Region/Environment/Modules/Framework/EventQueueGetModule.cs index 1a315bc..f12cf4e 100644 --- a/OpenSim/Region/Environment/Modules/Framework/EventQueueGetModule.cs +++ b/OpenSim/Region/Environment/Modules/Framework/EventQueueGetModule.cs | |||
@@ -208,7 +208,8 @@ namespace OpenSim.Region.Environment.Modules.Framework | |||
208 | private void ClientClosed(UUID AgentID) | 208 | private void ClientClosed(UUID AgentID) |
209 | { | 209 | { |
210 | m_log.DebugFormat("[EVENTQUEUE]: Closed client {0} in region {1}", AgentID, m_scene.RegionInfo.RegionName); | 210 | m_log.DebugFormat("[EVENTQUEUE]: Closed client {0} in region {1}", AgentID, m_scene.RegionInfo.RegionName); |
211 | while (queues[AgentID].Count() > 0) | 211 | |
212 | while ((queues[AgentID] != null) && queues[AgentID].Count() > 0) | ||
212 | Thread.Sleep(1000); | 213 | Thread.Sleep(1000); |
213 | 214 | ||
214 | lock (queues) | 215 | lock (queues) |