diff options
author | UbitUmarov | 2016-08-22 05:47:19 +0100 |
---|---|---|
committer | UbitUmarov | 2016-08-22 05:47:19 +0100 |
commit | 52a80f17423afc0049117c812cacab159f544639 (patch) | |
tree | 23f0f3fcbf53b66b311fde7f4787b6cf2bf20420 /ThirdParty/SmartThreadPool/SmartThreadPool.cs | |
parent | workaround potencial memory leak (diff) | |
download | opensim-SC_OLD-52a80f17423afc0049117c812cacab159f544639.zip opensim-SC_OLD-52a80f17423afc0049117c812cacab159f544639.tar.gz opensim-SC_OLD-52a80f17423afc0049117c812cacab159f544639.tar.bz2 opensim-SC_OLD-52a80f17423afc0049117c812cacab159f544639.tar.xz |
workaround potencial memory leak
Diffstat (limited to 'ThirdParty/SmartThreadPool/SmartThreadPool.cs')
-rw-r--r-- | ThirdParty/SmartThreadPool/SmartThreadPool.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ThirdParty/SmartThreadPool/SmartThreadPool.cs b/ThirdParty/SmartThreadPool/SmartThreadPool.cs index 8e42732..297e20e 100644 --- a/ThirdParty/SmartThreadPool/SmartThreadPool.cs +++ b/ThirdParty/SmartThreadPool/SmartThreadPool.cs | |||
@@ -1485,6 +1485,9 @@ namespace Amib.Threading | |||
1485 | _isIdleWaitHandle = null; | 1485 | _isIdleWaitHandle = null; |
1486 | } | 1486 | } |
1487 | 1487 | ||
1488 | if (_stpStartInfo.EnableLocalPerformanceCounters) | ||
1489 | _localPCs.Dispose(); | ||
1490 | |||
1488 | _isDisposed = true; | 1491 | _isDisposed = true; |
1489 | } | 1492 | } |
1490 | } | 1493 | } |