mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
Test m_Enabled on RemoveRegion.
This commit is contained in:
@@ -90,6 +90,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