mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 02:36:00 +08:00
add a missing dispose
This commit is contained in:
@@ -64,6 +64,13 @@ namespace OpenSim.Framework
|
||||
/// </value>
|
||||
private volatile System.Threading.ReaderWriterLockSlim m_itemLock = new System.Threading.ReaderWriterLockSlim();
|
||||
|
||||
|
||||
~TaskInventoryDictionary()
|
||||
{
|
||||
m_itemLock.Dispose();
|
||||
m_itemLock = null;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Are we readlocked by the calling thread?
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user