aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs
diff options
context:
space:
mode:
authorTedd Hansen2008-02-22 23:45:17 +0000
committerTedd Hansen2008-02-22 23:45:17 +0000
commit5eff68e6bbf42a880bd042cd350e7d12201dc2c7 (patch)
tree0fd4d3e4d0d900cd265ba88b482af07444a3b052 /OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs
parentTrying to fix SVN update error: 2/2 (diff)
downloadopensim-SC_OLD-5eff68e6bbf42a880bd042cd350e7d12201dc2c7.zip
opensim-SC_OLD-5eff68e6bbf42a880bd042cd350e7d12201dc2c7.tar.gz
opensim-SC_OLD-5eff68e6bbf42a880bd042cd350e7d12201dc2c7.tar.bz2
opensim-SC_OLD-5eff68e6bbf42a880bd042cd350e7d12201dc2c7.tar.xz
Fix for error message during startup (shared thread started processing region queue before queue objects were fully operational)
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs
index caf043d..3a237da 100644
--- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs
+++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs
@@ -225,6 +225,9 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase
225 //if (PleaseShutdown) 225 //if (PleaseShutdown)
226 // return; 226 // return;
227 227
228 if (m_ScriptEngine.m_EventQueueManager == null || m_ScriptEngine.m_EventQueueManager.eventQueue == null)
229 continue;
230
228 if (m_ScriptEngine.m_EventQueueManager.eventQueue.Count == 0) 231 if (m_ScriptEngine.m_EventQueueManager.eventQueue.Count == 0)
229 { 232 {
230 // Nothing to do? Sleep a bit waiting for something to do 233 // Nothing to do? Sleep a bit waiting for something to do