protected override void OnDispose() { CacheArgs.Clear(); RunningArgs.Clear(); ThreadCache.Dispose(); semaphore.Dispose(); semaphore = null; RunningArgs = null; CacheArgs = null; }
public static void Dispose() { ctrolThread.Abort(); ctrolThread.Join(); CacheArgs.Clear(); RunningArgs.Clear(); ThreadCache.Dispose(); ArgCache.Dispose(); eve = null; ctrolThread = null; RunningArgs = null; CacheArgs = null; }