diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-04-25 22:30:20 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-04-26 18:17:19 -0700 |
commit | 7e7493b4bf34a35388fe516e0381cb559590fe3b (patch) | |
tree | 41ecd3b0f93caf6d09c394cfa75e3e1b7c9032c5 | |
parent | c64c9caa7102fc864cdf121504f86572ce29f933 (diff) | |
download | mu-7e7493b4bf34a35388fe516e0381cb559590fe3b.tar.gz |
1201
-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); |