| 123 | } |
| 124 | |
| 125 | void Scheduler::unscheduleFixed(FixedScheduledItem* item) { |
| 126 | if (item && item->iter) { |
| 127 | _fixedUpdateList.erase(item->iter.value()); |
| 128 | item->target->release(); |
| 129 | item->iter = std::nullopt; |
| 130 | } |
| 131 | } |
| 132 | |
| 133 | void Scheduler::schedule(NotNull<Action, 1> action) { |
| 134 | if (action->_target && !action->isRunning()) { |
no test coverage detected