diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/ApplicationPlugins/ScriptEngine/RegionScriptEnginePlugin.cs | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/OpenSim/ApplicationPlugins/ScriptEngine/RegionScriptEnginePlugin.cs b/OpenSim/ApplicationPlugins/ScriptEngine/RegionScriptEnginePlugin.cs index e85e4dd..d530147 100644 --- a/OpenSim/ApplicationPlugins/ScriptEngine/RegionScriptEnginePlugin.cs +++ b/OpenSim/ApplicationPlugins/ScriptEngine/RegionScriptEnginePlugin.cs | |||
@@ -69,8 +69,15 @@ namespace OpenSim.ApplicationPlugins.ScriptEngine | |||
69 | 69 | ||
70 | public void Close() | 70 | public void Close() |
71 | { | 71 | { |
72 | if (scriptEngine != null) | 72 | try |
73 | scriptEngine.Close(); | 73 | { |
74 | if (scriptEngine != null) | ||
75 | scriptEngine.Close(); | ||
76 | } | ||
77 | catch (Exception ex) | ||
78 | { | ||
79 | scriptEngine.m_log.Error("[ScriptEngine]: Unable to close engine \"" + tempScriptEngineName + "\": " + ex.ToString()); | ||
80 | } | ||
74 | } | 81 | } |
75 | 82 | ||
76 | public string Name | 83 | public string Name |