diff options
author | UbitUmarov | 2016-08-22 04:13:05 +0100 |
---|---|---|
committer | UbitUmarov | 2016-08-22 04:13:05 +0100 |
commit | 222a5b655f3746876f91ecc78bb96934c0dde749 (patch) | |
tree | 412b52c6dd3ab7c95954a6ff2b3bd0bcb6340049 /ThirdParty/SmartThreadPool | |
parent | workaround potencial memory leaks (diff) | |
download | opensim-SC_OLD-222a5b655f3746876f91ecc78bb96934c0dde749.zip opensim-SC_OLD-222a5b655f3746876f91ecc78bb96934c0dde749.tar.gz opensim-SC_OLD-222a5b655f3746876f91ecc78bb96934c0dde749.tar.bz2 opensim-SC_OLD-222a5b655f3746876f91ecc78bb96934c0dde749.tar.xz |
workaround potencial memory leak
Diffstat (limited to 'ThirdParty/SmartThreadPool')
-rw-r--r-- | ThirdParty/SmartThreadPool/SmartThreadPool.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ThirdParty/SmartThreadPool/SmartThreadPool.cs b/ThirdParty/SmartThreadPool/SmartThreadPool.cs index 9043d3a..8e42732 100644 --- a/ThirdParty/SmartThreadPool/SmartThreadPool.cs +++ b/ThirdParty/SmartThreadPool/SmartThreadPool.cs | |||
@@ -1684,6 +1684,7 @@ namespace Amib.Threading | |||
1684 | } | 1684 | } |
1685 | workItemsGroup.Start(); | 1685 | workItemsGroup.Start(); |
1686 | anActionCompleted.WaitOne(); | 1686 | anActionCompleted.WaitOne(); |
1687 | anActionCompleted.Dispose(); | ||
1687 | 1688 | ||
1688 | return choiceIndex._index; | 1689 | return choiceIndex._index; |
1689 | } | 1690 | } |