diff options
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/038scheduler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/038scheduler.cc b/cpp/038scheduler.cc index d35d853d..cd07cfc5 100644 --- a/cpp/038scheduler.cc +++ b/cpp/038scheduler.cc @@ -36,7 +36,7 @@ void run(recipe_number r) { Running_routines.pop_front(); trace("schedule") << current_recipe_name(); run_current_routine(Scheduling_interval); - if (Current_routine->calls.empty()) + if (Current_routine->completed()) Completed_routines.push_back(Current_routine); else Running_routines.push_back(Current_routine); |