diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs index d697f5e..564ef31 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs | |||
@@ -90,6 +90,8 @@ namespace OpenSim.Region.ClientStack.Linden | |||
90 | 90 | ||
91 | public void RemoveRegion(Scene s) | 91 | public void RemoveRegion(Scene s) |
92 | { | 92 | { |
93 | m_scene.EventManager.OnRegisterCaps -= RegisterCaps; | ||
94 | m_scene = null; | ||
93 | } | 95 | } |
94 | 96 | ||
95 | public void RegionLoaded(Scene s) | 97 | public void RegionLoaded(Scene s) |