diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/Caps/WebFetchInvDescModule.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/Caps/WebFetchInvDescModule.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/WebFetchInvDescModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/WebFetchInvDescModule.cs index 55f220d..94629a2 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/WebFetchInvDescModule.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/WebFetchInvDescModule.cs | |||
@@ -79,6 +79,9 @@ namespace OpenSim.Region.ClientStack.Linden | |||
79 | 79 | ||
80 | public void RemoveRegion(Scene s) | 80 | public void RemoveRegion(Scene s) |
81 | { | 81 | { |
82 | if (!m_Enabled) | ||
83 | return; | ||
84 | |||
82 | m_scene.EventManager.OnRegisterCaps -= RegisterCaps; | 85 | m_scene.EventManager.OnRegisterCaps -= RegisterCaps; |
83 | m_scene = null; | 86 | m_scene = null; |
84 | } | 87 | } |