hang fix fix

This commit is contained in:
2025-10-12 20:43:13 +02:00
parent ed1cee82d2
commit df55b8f2e1

View File

@@ -90,6 +90,9 @@ void AppSystem::run() {
events.reserve(4);
while (true) {
if (auto* hooks = context.loopHooks())
hooks->onLoopIteration();
events.clear();
const std::uint32_t now = context.clock.millis();
processDueTimers(now, events);
@@ -138,9 +141,6 @@ void AppSystem::run() {
eventBus->scheduleTimerSignal(waitMs);
eventBus->wait(mask, IEventBus::kWaitForever);
}
if (auto* hooks = context.loopHooks())
hooks->onLoopIteration();
}
}