From aba9ffdbd008920f94cfbd7d4ff4a0fa92e92321 Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Mon, 2 May 2011 11:56:40 -0700 Subject: Refactored the GetMesh module into a handler and a module, to be the same as GetTexture. --- OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs') 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 public void RemoveRegion(Scene s) { + m_scene.EventManager.OnRegisterCaps -= RegisterCaps; + m_scene = null; } public void RegionLoaded(Scene s) -- cgit v1.1