event/Loop: push new idle events to the back of the list
This commit is contained in:
@@ -192,7 +192,7 @@ EventLoop::AddDefer(DeferEvent &e) noexcept
|
|||||||
void
|
void
|
||||||
EventLoop::AddIdle(DeferEvent &e) noexcept
|
EventLoop::AddIdle(DeferEvent &e) noexcept
|
||||||
{
|
{
|
||||||
idle.push_front(e);
|
idle.push_back(e);
|
||||||
again = true;
|
again = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user