protect AsyncCommandManager thread from fails on the several things it checks

0.9.0-post-fixes
UbitUmarov 2017-05-23 05:41:04 +01:00
parent 8e777d50a6
commit d5e8e116d4
1 changed files with 7 additions and 6 deletions

View File

@ -247,24 +247,25 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
lock (staticLock)
{
// Check HttpRequests
m_HttpRequest[m_ScriptEngines[0]].CheckHttpRequests();
try { m_HttpRequest[m_ScriptEngines[0]].CheckHttpRequests(); } catch {}
// Check XMLRPCRequests
m_XmlRequest[m_ScriptEngines[0]].CheckXMLRPCRequests();
try { m_XmlRequest[m_ScriptEngines[0]].CheckXMLRPCRequests(); } catch {}
foreach (IScriptEngine s in m_ScriptEngines)
{
// Check Listeners
m_Listener[s].CheckListeners();
try { m_Listener[s].CheckListeners(); } catch {}
// Check timers
m_Timer[s].CheckTimerEvents();
try { m_Timer[s].CheckTimerEvents(); } catch {}
// Check Sensors
m_SensorRepeat[s].CheckSenseRepeaterEvents();
try { m_SensorRepeat[s].CheckSenseRepeaterEvents(); } catch {}
// Check dataserver
m_Dataserver[s].ExpireRequests();
try { m_Dataserver[s].ExpireRequests(); } catch {}
}
}
}