public void Dispose() { Interlocked.Decrement(ref isContinue); threadProcessing.Execute(); threadProcessing.Dispose(); producer.Dispose(); }
public void Dispose() { Interlocked.Decrement(ref isContinue); consumer.Dispose(); threadProcessing.Dispose(); }