protect AsyncCommandManager thread from fails on the several things it checks
parent
8e777d50a6
commit
d5e8e116d4
|
@ -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 {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue