Fix for error message during startup (shared thread started processing region queue before queue objects were fully operational)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user