* Stop a problem in the DotNetEngine event queue thread from immediately bringing down the whole sim, though the sim will need a reboot
parent
97d320d7d1
commit
03c402842a
|
@ -211,6 +211,14 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
|
||||||
catch (ThreadAbortException)
|
catch (ThreadAbortException)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
catch (Exception e)
|
||||||
|
{
|
||||||
|
// TODO: Let users in the sim and those entering it and possibly an external watchdog know what has happened
|
||||||
|
if (lastScriptEngine != null)
|
||||||
|
lastScriptEngine.Log.ErrorFormat(
|
||||||
|
"[{0}]: Event queue thread terminating with exception. PLEASE REBOOT YOUR SIM - SCRIPT EVENTS WILL NOT WORK UNTIL YOU DO. Exception is {1}",
|
||||||
|
ScriptEngineName, e);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void DoProcessQueue()
|
public void DoProcessQueue()
|
||||||
|
|
Loading…
Reference in New Issue