From 222a5b655f3746876f91ecc78bb96934c0dde749 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Mon, 22 Aug 2016 04:13:05 +0100 Subject: workaround potencial memory leak --- ThirdParty/SmartThreadPool/SmartThreadPool.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'ThirdParty') 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 } workItemsGroup.Start(); anActionCompleted.WaitOne(); + anActionCompleted.Dispose(); return choiceIndex._index; } -- cgit v1.1