event/Loop: push new idle events to the back of the list
This commit is contained in:
parent
520e96b6e8
commit
56adb27b44
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue