Exemple #1
0
        /// <summary>
        /// Dispose of the object.
        /// </summary>
        void IDisposable.Dispose()
        {
            if (_processor != null)
            {
                _processor.Dispose();
            }

            Flush();
            Close();
        }
Exemple #2
0
 /// <summary>
 /// Ends the work.
 /// </summary>
 protected override void EndWork()
 {
     base.EndWork();
     m_FileProcessor.Dispose();
     m_FileProcessor = null;
 }