diff options
author | Tedd Hansen | 2008-09-21 09:04:39 +0000 |
---|---|---|
committer | Tedd Hansen | 2008-09-21 09:04:39 +0000 |
commit | 4ce0e6d8223de7ec059ba6881b52ba4b255dafd5 (patch) | |
tree | 6f971dc87275ffe6917609ecca3a0b273d1544f4 /OpenSim/ApplicationPlugins | |
parent | ODE was using a box collision shape for some spheres - changed those cases to... (diff) | |
download | opensim-SC_OLD-4ce0e6d8223de7ec059ba6881b52ba4b255dafd5.zip opensim-SC_OLD-4ce0e6d8223de7ec059ba6881b52ba4b255dafd5.tar.gz opensim-SC_OLD-4ce0e6d8223de7ec059ba6881b52ba4b255dafd5.tar.bz2 opensim-SC_OLD-4ce0e6d8223de7ec059ba6881b52ba4b255dafd5.tar.xz |
bugfix for shutdown
Diffstat (limited to 'OpenSim/ApplicationPlugins')
-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 |