diff options
author | UbitUmarov | 2016-11-17 17:37:22 +0000 |
---|---|---|
committer | UbitUmarov | 2016-11-17 17:37:22 +0000 |
commit | 8599a9a1cae6dc7a0760448b4ac8e9a773348c1e (patch) | |
tree | 24b68c457ac76cbaa7e23faede230566bcab3dfb /OpenSim | |
parent | minor changes to ubMeshmerizer memory use (diff) | |
download | opensim-SC-8599a9a1cae6dc7a0760448b4ac8e9a773348c1e.zip opensim-SC-8599a9a1cae6dc7a0760448b4ac8e9a773348c1e.tar.gz opensim-SC-8599a9a1cae6dc7a0760448b4ac8e9a773348c1e.tar.bz2 opensim-SC-8599a9a1cae6dc7a0760448b4ac8e9a773348c1e.tar.xz |
add a missing dispose
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/TaskInventoryDictionary.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Framework/TaskInventoryDictionary.cs b/OpenSim/Framework/TaskInventoryDictionary.cs index 2c20ef7..c270d98 100644 --- a/OpenSim/Framework/TaskInventoryDictionary.cs +++ b/OpenSim/Framework/TaskInventoryDictionary.cs | |||
@@ -64,6 +64,13 @@ namespace OpenSim.Framework | |||
64 | /// </value> | 64 | /// </value> |
65 | private volatile System.Threading.ReaderWriterLockSlim m_itemLock = new System.Threading.ReaderWriterLockSlim(); | 65 | private volatile System.Threading.ReaderWriterLockSlim m_itemLock = new System.Threading.ReaderWriterLockSlim(); |
66 | 66 | ||
67 | |||
68 | ~TaskInventoryDictionary() | ||
69 | { | ||
70 | m_itemLock.Dispose(); | ||
71 | m_itemLock = null; | ||
72 | } | ||
73 | |||
67 | /// <summary> | 74 | /// <summary> |
68 | /// Are we readlocked by the calling thread? | 75 | /// Are we readlocked by the calling thread? |
69 | /// </summary> | 76 | /// </summary> |