Core: Scheduling includes re-rooted if no root
Vicki Pfau vi@endrift.com
Sat, 01 Sep 2018 16:19:40 -0700
1 files changed,
3 insertions(+),
0 deletions(-)
jump to
M
src/core/timing.c
→
src/core/timing.c
@@ -58,6 +58,9 @@ }
bool mTimingIsScheduled(const struct mTiming* timing, const struct mTimingEvent* event) { const struct mTimingEvent* next = timing->root; + if (!next) { + next = timing->reroot; + } while (next) { if (next == event) { return true;