diff options
author | Diva Canto | 2011-05-04 20:40:25 -0700 |
---|---|---|
committer | Diva Canto | 2011-05-04 20:40:25 -0700 |
commit | e8944d6c3163d25d7f6a8f278546b42db62b6b30 (patch) | |
tree | c150374724bb70f05b7710aacab5860c5afd2f97 /OpenSim/Region/ClientStack/Linden/Caps/WebFetchInvDescModule.cs | |
parent | Merge branch 'master' into caps (diff) | |
download | opensim-SC_OLD-e8944d6c3163d25d7f6a8f278546b42db62b6b30.zip opensim-SC_OLD-e8944d6c3163d25d7f6a8f278546b42db62b6b30.tar.gz opensim-SC_OLD-e8944d6c3163d25d7f6a8f278546b42db62b6b30.tar.bz2 opensim-SC_OLD-e8944d6c3163d25d7f6a8f278546b42db62b6b30.tar.xz |
Test m_Enabled on RemoveRegion.
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 | } |