diff options
author | Melanie Thielker | 2008-09-21 02:26:08 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-09-21 02:26:08 +0000 |
commit | b597cbf39decb470c739bdaa87ed6a193274b635 (patch) | |
tree | f43090732727a3ffc127fcd7a9e3ec7f9bb8a41f | |
parent | More locks, try's and disable some things in SEC - maybe it won't crash now. :) (diff) | |
download | opensim-SC-b597cbf39decb470c739bdaa87ed6a193274b635.zip opensim-SC-b597cbf39decb470c739bdaa87ed6a193274b635.tar.gz opensim-SC-b597cbf39decb470c739bdaa87ed6a193274b635.tar.bz2 opensim-SC-b597cbf39decb470c739bdaa87ed6a193274b635.tar.xz |
Fix an exception in new ScriptEngine loader where a region would
throw on quit if there was no script engine loaded by the loader
-rw-r--r-- | OpenSim/ApplicationPlugins/ScriptEngine/RegionScriptEnginePlugin.cs | 3 |
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 |