Changeset 240
- Timestamp:
- 3/11/2008 1:39:13 PM (5 years ago)
- File:
-
- 1 edited
-
branches/eraser6/Manager/DirectExecutor.cs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eraser6/Manager/DirectExecutor.cs
r236 r240 248 248 finally 249 249 { 250 //And the task finished event.251 task.OnTaskFinished(new TaskEventArgs(task));252 253 250 //If the task is a recurring task, reschedule it since we are done. 254 251 if (task.Schedule is RecurringSchedule) 255 252 ((RecurringSchedule)task.Schedule).Reschedule(DateTime.Now); 253 254 //If the task is an execute on restart task, it is only run 255 //once and can now be restored to an immediately executed task 256 if (task.Schedule == Schedule.RunOnRestart) 257 task.Schedule = Schedule.RunNow; 258 259 //And the task finished event. 260 task.OnTaskFinished(new TaskEventArgs(task)); 256 261 } 257 262 }
Note: See TracChangeset
for help on using the changeset viewer.
