Changeset 607


Ignore:
Timestamp:
11/21/2008 12:45:53 PM (6 years ago)
Author:
lowjoel
Message:

Make Executor subclasses implement IDisposable.

Location:
branches/eraser6
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/Eraser/Program.cs

    r599 r607  
    9595        } 
    9696 
    97         public static DirectExecutor eraserClient; 
     97        /// <summary> 
     98        /// The global Executor instance. 
     99        /// </summary> 
     100        public static Executor eraserClient; 
    98101    } 
    99102 
    100     public class Settings : Manager.SettingsManager 
     103    class Settings : Manager.SettingsManager 
    101104    { 
    102105        /// <summary> 
  • branches/eraser6/Manager/DirectExecutor.cs

    r605 r607  
    3939    /// is run without the help of a Service. 
    4040    /// </summary> 
    41     public class DirectExecutor : Executor, IDisposable 
     41    public class DirectExecutor : Executor 
    4242    { 
    4343        public DirectExecutor() 
     
    5050        } 
    5151 
    52         void IDisposable.Dispose() 
     52        public override void Dispose() 
    5353        { 
    5454            thread.Abort(); 
  • branches/eraser6/Manager/Executor.cs

    r495 r607  
    3232    /// abstract as they each will have their own ways of dealing with tasks. 
    3333    /// </summary> 
    34     public abstract class Executor 
     34    public abstract class Executor : IDisposable 
    3535    { 
     36        #region IDisposable members 
     37        public abstract void Dispose(); 
     38        #endregion 
     39 
    3640        /// <summary> 
    3741        /// Starts the execution of tasks queued. 
Note: See TracChangeset for help on using the changeset viewer.