Changeset 982


Ignore:
Timestamp:
5/6/2009 7:56:55 AM (5 years ago)
Author:
lowjoel
Message:

Cancel the task properly - the UnqueueTask? function no longer cancels tasks.

Location:
branches/eraser6/Eraser
Files:
2 edited

Legend:

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

    r944 r982  
    126126        { 
    127127            if (task.Executing) 
    128                 task.Executor.UnqueueTask(task); 
     128                task.Cancel(); 
    129129            Close(); 
    130130        } 
  • branches/eraser6/Eraser/SchedulerPanel.cs

    r966 r982  
    398398                if (task.Executing || task.Queued) 
    399399                { 
    400                     Program.eraserClient.UnqueueTask(task); 
     400                    task.Cancel(); 
    401401 
    402402                    //Update the UI 
Note: See TracChangeset for help on using the changeset viewer.