aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs
index 564ef31..35eedb4 100644
--- a/OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs
+++ b/OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs
@@ -90,6 +90,9 @@ namespace OpenSim.Region.ClientStack.Linden
90 90
91 public void RemoveRegion(Scene s) 91 public void RemoveRegion(Scene s)
92 { 92 {
93 if (!m_Enabled)
94 return;
95
93 m_scene.EventManager.OnRegisterCaps -= RegisterCaps; 96 m_scene.EventManager.OnRegisterCaps -= RegisterCaps;
94 m_scene = null; 97 m_scene = null;
95 } 98 }