stop some log spam on shutdown that happens on linux

master
UbitUmarov 2020-02-17 17:54:56 +00:00
parent c11249f1ca
commit b9cf2244a4
2 changed files with 4 additions and 3 deletions

View File

@ -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)

View File

@ -260,7 +260,6 @@ 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;