mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Test m_Enabled on RemoveRegion.
This commit is contained in:
@@ -87,6 +87,9 @@ namespace OpenSim.Region.ClientStack.Linden
|
||||
|
||||
public void RemoveRegion(Scene scene)
|
||||
{
|
||||
if (!m_Enabled)
|
||||
return;
|
||||
|
||||
m_scene.EventManager.OnRegisterCaps -= RegisterCaps;
|
||||
m_scene = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user