Add "shutdown" message to RegionReady

Add "shutdown" message when removing region.
	From a patch submitted by Michelle Argus.
	Thanks Michelle
bulletsim
BlueWall 2011-08-15 16:21:04 -04:00
parent dc772c608d
commit 0784791a44
1 changed files with 5 additions and 0 deletions

View File

@ -126,6 +126,11 @@ namespace OpenSim.Region.OptionalModules.Scripting.RegionReady
m_scene.EventManager.OnEmptyScriptCompileQueue -= OnEmptyScriptCompileQueue;
m_scene.EventManager.OnOarFileLoaded -= OnOarFileLoaded;
if(m_uri != string.Empty)
{
RRAlert("shutdown");
}
m_scene = null;
}