stop some log spam on shutdown that happens on linux
parent
c11249f1ca
commit
b9cf2244a4
|
@ -273,7 +273,6 @@ namespace OpenSim.Region.ScriptEngine.Yengine
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
m_MaintenanceInterval = m_Config.GetInt("MaintenanceInterval", 10);
|
m_MaintenanceInterval = m_Config.GetInt("MaintenanceInterval", 10);
|
||||||
|
|
||||||
if(m_MaintenanceInterval > 0)
|
if(m_MaintenanceInterval > 0)
|
||||||
|
@ -904,6 +903,9 @@ namespace OpenSim.Region.ScriptEngine.Yengine
|
||||||
//
|
//
|
||||||
public bool PostObjectEvent(uint localID, EventParams parms)
|
public bool PostObjectEvent(uint localID, EventParams parms)
|
||||||
{
|
{
|
||||||
|
if(m_Exiting)
|
||||||
|
return false;
|
||||||
|
|
||||||
SceneObjectPart part = m_Scene.GetSceneObjectPart(localID);
|
SceneObjectPart part = m_Scene.GetSceneObjectPart(localID);
|
||||||
|
|
||||||
if(part == null)
|
if(part == null)
|
||||||
|
|
|
@ -260,8 +260,7 @@ namespace OpenSim.Region.ScriptEngine.Yengine
|
||||||
{
|
{
|
||||||
// Say how long to sleep.
|
// Say how long to sleep.
|
||||||
m_SleepUntil = DateTime.UtcNow + TimeSpan.FromMilliseconds(ms);
|
m_SleepUntil = DateTime.UtcNow + TimeSpan.FromMilliseconds(ms);
|
||||||
|
// Don't wake on any events.
|
||||||
// Don't wake on any events.
|
|
||||||
m_SleepEventMask1 = 0;
|
m_SleepEventMask1 = 0;
|
||||||
m_SleepEventMask2 = 0;
|
m_SleepEventMask2 = 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue