Add "shutdown" message to RegionReady
Add "shutdown" message when removing region. From a patch submitted by Michelle Argus. Thanks Michellebulletsim
parent
dc772c608d
commit
0784791a44
|
@ -126,6 +126,11 @@ namespace OpenSim.Region.OptionalModules.Scripting.RegionReady
|
||||||
m_scene.EventManager.OnEmptyScriptCompileQueue -= OnEmptyScriptCompileQueue;
|
m_scene.EventManager.OnEmptyScriptCompileQueue -= OnEmptyScriptCompileQueue;
|
||||||
m_scene.EventManager.OnOarFileLoaded -= OnOarFileLoaded;
|
m_scene.EventManager.OnOarFileLoaded -= OnOarFileLoaded;
|
||||||
|
|
||||||
|
if(m_uri != string.Empty)
|
||||||
|
{
|
||||||
|
RRAlert("shutdown");
|
||||||
|
}
|
||||||
|
|
||||||
m_scene = null;
|
m_scene = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue