diff options
author | diva | 2008-12-22 06:10:36 +0000 |
---|---|---|
committer | diva | 2008-12-22 06:10:36 +0000 |
commit | fc9ffa5f97d02941c7680aae01c31450b8ab1bdc (patch) | |
tree | 1012053f3f661a610f301b41caab82801170aa02 /OpenSim/Region/Environment | |
parent | Fix a floating point comparison that was causing some misshaped triangles on ... (diff) | |
download | opensim-SC-fc9ffa5f97d02941c7680aae01c31450b8ab1bdc.zip opensim-SC-fc9ffa5f97d02941c7680aae01c31450b8ab1bdc.tar.gz opensim-SC-fc9ffa5f97d02941c7680aae01c31450b8ab1bdc.tar.bz2 opensim-SC-fc9ffa5f97d02941c7680aae01c31450b8ab1bdc.tar.xz |
One more check on closing EQs.
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) |