workaround potencial memory leak

LSLKeyTest
UbitUmarov 2016-08-22 04:13:05 +01:00
parent c8a1d7e5a7
commit 222a5b655f
1 changed files with 1 additions and 0 deletions

View File

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