diff options
author | UbitUmarov | 2016-11-18 00:12:09 +0000 |
---|---|---|
committer | UbitUmarov | 2016-11-18 00:12:09 +0000 |
commit | ba7904a3a80713f726d434fc82e9a80306372e2c (patch) | |
tree | 0686b2c9132db1a2481957fbf9ad98d660d332c5 /OpenSim/Capabilities/Caps.cs | |
parent | counting issus safeguard (diff) | |
download | opensim-SC_OLD-ba7904a3a80713f726d434fc82e9a80306372e2c.zip opensim-SC_OLD-ba7904a3a80713f726d434fc82e9a80306372e2c.tar.gz opensim-SC_OLD-ba7904a3a80713f726d434fc82e9a80306372e2c.tar.bz2 opensim-SC_OLD-ba7904a3a80713f726d434fc82e9a80306372e2c.tar.xz |
a few more changes on potencial mem issues
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Capabilities/Caps.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Capabilities/Caps.cs b/OpenSim/Capabilities/Caps.cs index 3efab8e..5e89c38 100644 --- a/OpenSim/Capabilities/Caps.cs +++ b/OpenSim/Capabilities/Caps.cs | |||
@@ -141,6 +141,11 @@ namespace OpenSim.Framework.Capabilities | |||
141 | m_capsActive.Reset(); | 141 | m_capsActive.Reset(); |
142 | } | 142 | } |
143 | 143 | ||
144 | ~Caps() | ||
145 | { | ||
146 | m_capsActive.Dispose(); | ||
147 | } | ||
148 | |||
144 | /// <summary> | 149 | /// <summary> |
145 | /// Register a handler. This allows modules to register handlers. | 150 | /// Register a handler. This allows modules to register handlers. |
146 | /// </summary> | 151 | /// </summary> |