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