workaround potencial memory leak

This commit is contained in:
UbitUmarov
2016-08-22 04:13:05 +01:00
parent c8a1d7e5a7
commit 222a5b655f

View File

@@ -1684,6 +1684,7 @@ namespace Amib.Threading
}
workItemsGroup.Start();
anActionCompleted.WaitOne();
anActionCompleted.Dispose();
return choiceIndex._index;
}