aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorBlueWall2011-08-15 16:21:04 -0400
committerBlueWall2011-08-15 16:21:04 -0400
commit0784791a44d5f5b7db7c3d2534cc158160819d01 (patch)
tree5452f43ac26a0d2c175b276fffaf9e714126edb1 /OpenSim
parentFix for monodevelop (diff)
downloadopensim-SC_OLD-0784791a44d5f5b7db7c3d2534cc158160819d01.zip
opensim-SC_OLD-0784791a44d5f5b7db7c3d2534cc158160819d01.tar.gz
opensim-SC_OLD-0784791a44d5f5b7db7c3d2534cc158160819d01.tar.bz2
opensim-SC_OLD-0784791a44d5f5b7db7c3d2534cc158160819d01.tar.xz
Add "shutdown" message to RegionReady
Add "shutdown" message when removing region. From a patch submitted by Michelle Argus. Thanks Michelle
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/OptionalModules/Scripting/RegionReadyModule/RegionReadyModule.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/RegionReadyModule/RegionReadyModule.cs b/OpenSim/Region/OptionalModules/Scripting/RegionReadyModule/RegionReadyModule.cs
index 05c729a..963d1e2 100644
--- a/OpenSim/Region/OptionalModules/Scripting/RegionReadyModule/RegionReadyModule.cs
+++ b/OpenSim/Region/OptionalModules/Scripting/RegionReadyModule/RegionReadyModule.cs
@@ -126,6 +126,11 @@ namespace OpenSim.Region.OptionalModules.Scripting.RegionReady
126 m_scene.EventManager.OnEmptyScriptCompileQueue -= OnEmptyScriptCompileQueue; 126 m_scene.EventManager.OnEmptyScriptCompileQueue -= OnEmptyScriptCompileQueue;
127 m_scene.EventManager.OnOarFileLoaded -= OnOarFileLoaded; 127 m_scene.EventManager.OnOarFileLoaded -= OnOarFileLoaded;
128 128
129 if(m_uri != string.Empty)
130 {
131 RRAlert("shutdown");
132 }
133
129 m_scene = null; 134 m_scene = null;
130 } 135 }
131 136