Fix for error message during startup (shared thread started processing region queue before queue objects were fully operational)
parent
c485d56512
commit
5eff68e6bb
|
@ -225,6 +225,9 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase
|
||||||
//if (PleaseShutdown)
|
//if (PleaseShutdown)
|
||||||
// return;
|
// return;
|
||||||
|
|
||||||
|
if (m_ScriptEngine.m_EventQueueManager == null || m_ScriptEngine.m_EventQueueManager.eventQueue == null)
|
||||||
|
continue;
|
||||||
|
|
||||||
if (m_ScriptEngine.m_EventQueueManager.eventQueue.Count == 0)
|
if (m_ScriptEngine.m_EventQueueManager.eventQueue.Count == 0)
|
||||||
{
|
{
|
||||||
// Nothing to do? Sleep a bit waiting for something to do
|
// Nothing to do? Sleep a bit waiting for something to do
|
||||||
|
|
Loading…
Reference in New Issue