bugfix for shutdown

0.6.0-stable
Tedd Hansen 2008-09-21 09:04:39 +00:00
parent 52af9b3fd7
commit 4ce0e6d822
1 changed files with 9 additions and 2 deletions

View File

@ -69,8 +69,15 @@ namespace OpenSim.ApplicationPlugins.ScriptEngine
public void Close()
{
if (scriptEngine != null)
scriptEngine.Close();
try
{
if (scriptEngine != null)
scriptEngine.Close();
}
catch (Exception ex)
{
scriptEngine.m_log.Error("[ScriptEngine]: Unable to close engine \"" + tempScriptEngineName + "\": " + ex.ToString());
}
}
public string Name