diff --git a/src/event/Loop.cxx b/src/event/Loop.cxx index c50727c3a..ea19c2bd9 100644 --- a/src/event/Loop.cxx +++ b/src/event/Loop.cxx @@ -326,15 +326,19 @@ EventLoop::Run() noexcept { const std::lock_guard lock(mutex); HandleInject(); +#endif + + if (again) + /* re-evaluate timers because one of + the DeferEvents may have added a + new timeout */ + continue; + +#ifdef HAVE_THREADED_EVENT_LOOP busy = false; } #endif - if (again) - /* re-evaluate timers because one of the - DeferEvents may have added a new timeout */ - continue; - /* wait for new event */ Wait(timeout);