コード例 #1
0
        /// <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();
        }
コード例 #2
0
 /// <summary>
 /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
 /// </summary>
 public void Dispose()
 {
     _processor.Dispose();
 }