aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/ApplicationPlugins/ScriptEngine/RegionScriptEnginePlugin.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/ApplicationPlugins/ScriptEngine/RegionScriptEnginePlugin.cs b/OpenSim/ApplicationPlugins/ScriptEngine/RegionScriptEnginePlugin.cs
index 0851fc3..89fb47b 100644
--- a/OpenSim/ApplicationPlugins/ScriptEngine/RegionScriptEnginePlugin.cs
+++ b/OpenSim/ApplicationPlugins/ScriptEngine/RegionScriptEnginePlugin.cs
@@ -69,7 +69,8 @@ namespace OpenSim.ApplicationPlugins.ScriptEngine
69 69
70 public void Close() 70 public void Close()
71 { 71 {
72 scriptEngine.Close(); 72 if (scriptEngine != null)
73 scriptEngine.Close();
73 } 74 }
74 75
75 public string Name 76 public string Name