FastLED 3.10.8
Loading...
Searching...
No Matches

◆ remove_inactive_tasks()

void fl::task::Scheduler::remove_inactive_tasks ( )
private

Definition at line 165 of file scheduler.cpp.hpp.

165 {
166 for (fl::size i = 0; i < mTasks.size();) {
167 if (!mTasks[i].is_valid() || mTasks[i]._is_canceled()) {
168 mTasks.erase(mTasks.begin() + i);
169 } else {
170 ++i;
171 }
172 }
173}
fl::vector< Handle > mTasks
Definition scheduler.h:46

References fl::FL_NO_EXCEPT, and mTasks.

Referenced by fl::Singleton< Scheduler >, and update_tasks_of_type().

+ Here is the caller graph for this function: