event/Loop: push new idle events to the back of the list

This commit is contained in:
Max Kellermann 2022-09-28 09:47:34 +02:00
parent 520e96b6e8
commit 56adb27b44
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ EventLoop::AddDefer(DeferEvent &e) noexcept
void
EventLoop::AddIdle(DeferEvent &e) noexcept
{
idle.push_front(e);
idle.push_back(e);
again = true;
}