/// <summary> /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. /// </summary> public void Dispose() { _frontier = DateTime.MaxValue; // check the other consolidators to see if they also need to emit their working bars foreach (var consolidator in _consolidators.Values) { consolidator.Scan(_frontier); } _destination.Dispose(); _consolidators.Clear(); }
/// <summary> /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. /// </summary> public void Dispose() { _processor.Dispose(); }