Fix for error message during startup (shared thread started processing region queue before queue objects were fully operational)

0.6.0-stable
Tedd Hansen 2008-02-22 23:45:17 +00:00
parent c485d56512
commit 5eff68e6bb
2 changed files with 4 additions and 1 deletions

View File

@ -225,6 +225,9 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase
//if (PleaseShutdown)
// return;
if (m_ScriptEngine.m_EventQueueManager == null || m_ScriptEngine.m_EventQueueManager.eventQueue == null)
continue;
if (m_ScriptEngine.m_EventQueueManager.eventQueue.Count == 0)
{
// Nothing to do? Sleep a bit waiting for something to do