Commit 937423db authored by Max Kellermann's avatar Max Kellermann Committed by Max Kellermann

event/Loop: check the `quit` flag after RunDeferred()

Allow DeferredEvents to call EventLoop::Break().
parent 40483d84
......@@ -298,6 +298,8 @@ EventLoop::Run() noexcept
break;
RunDeferred();
if (quit)
break;
if (RunOneIdle())
/* check for other new events after each
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment