a few more changes on potencial mem issues

This commit is contained in:
UbitUmarov
2016-11-18 00:12:09 +00:00
parent e21ac8b3c4
commit ba7904a3a8
4 changed files with 19 additions and 2 deletions

View File

@@ -55,6 +55,11 @@ namespace OpenSim.Framework
Dictionary2 = new Dictionary<TKey2, TValue>(capacity);
}
~DoubleDictionaryThreadAbortSafe()
{
rwLock.Dispose();
}
public void Add(TKey1 key1, TKey2 key2, TValue value)
{
bool gotLock = false;