diff options
Diffstat (limited to 'OpenSim/Framework')
-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> |