Ignore:
Timestamp:
3/11/2008 6:13:16 AM (7 years ago)
Author:
lowjoel
Message:

Allow the program to quit.

File:
1 edited

Legend:

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

    r222 r223  
    1717            Application.EnableVisualStyles(); 
    1818            Application.SetCompatibleTextRenderingDefault(false); 
    19             Application.Run(new MainForm()); 
    2019 
    21             (eraserClient as IDisposable).Dispose(); 
     20            using (eraserClient = new DirectExecutor()) 
     21                Application.Run(new MainForm()); 
    2222        } 
    2323 
    24         public static Executor eraserClient = new DirectExecutor(); 
     24        public static DirectExecutor eraserClient; 
    2525    } 
    2626} 
Note: See TracChangeset for help on using the changeset viewer.