Changeset 1154


Ignore:
Timestamp:
07/03/09 07:03:40 (5 years ago)
Author:
lowjoel
Message:

Fixed an erroneous variable reference which prevented tasks meant for restart execution from working.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/eraser6/Eraser.Manager/DirectExecutor.cs

    r1145 r1154  
    104104            lock (tasksLock) 
    105105            { 
    106                 foreach (Task task in tasks.Values) 
     106                foreach (Task task in Tasks) 
    107107                    if (task.Schedule == Schedule.RunOnRestart) 
    108108                        QueueTask(task); 
     
    10491049 
    10501050        /// <summary> 
    1051         /// The list of tasks. Includes all immediate, reboot, and recurring tasks 
    1052         /// </summary> 
    1053         private Dictionary<uint, Task> tasks = new Dictionary<uint, Task>(); 
    1054  
    1055         /// <summary> 
    10561051        /// The queue of tasks. This queue is executed when the first element's 
    10571052        /// timestamp (the key) has been past. This list assumes that all tasks 
Note: See TracChangeset for help on using the changeset viewer.