aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/ApplicationPlugins/ScriptEngine/RegionScriptEnginePlugin.cs
diff options
context:
space:
mode:
authorTedd Hansen2008-09-21 09:04:39 +0000
committerTedd Hansen2008-09-21 09:04:39 +0000
commit4ce0e6d8223de7ec059ba6881b52ba4b255dafd5 (patch)
tree6f971dc87275ffe6917609ecca3a0b273d1544f4 /OpenSim/ApplicationPlugins/ScriptEngine/RegionScriptEnginePlugin.cs
parentODE was using a box collision shape for some spheres - changed those cases to... (diff)
downloadopensim-SC-4ce0e6d8223de7ec059ba6881b52ba4b255dafd5.zip
opensim-SC-4ce0e6d8223de7ec059ba6881b52ba4b255dafd5.tar.gz
opensim-SC-4ce0e6d8223de7ec059ba6881b52ba4b255dafd5.tar.bz2
opensim-SC-4ce0e6d8223de7ec059ba6881b52ba4b255dafd5.tar.xz
bugfix for shutdown
Diffstat (limited to '')
-rw-r--r--OpenSim/ApplicationPlugins/ScriptEngine/RegionScriptEnginePlugin.cs11
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