mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 03:57:35 +00:00
WindowServer: Oops, the message loop should wake up for timers.
This commit is contained in:
parent
0f49b5e7be
commit
2ac4f54724
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ void WSMessageLoop::wait_for_message()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int rc = select(max_fd + 1, &rfds, nullptr, nullptr, m_queued_messages.is_empty() ? nullptr : &timeout);
|
int rc = select(max_fd + 1, &rfds, nullptr, nullptr, m_queued_messages.is_empty() && m_timers.is_empty() ? nullptr : &timeout);
|
||||||
if (rc < 0) {
|
if (rc < 0) {
|
||||||
ASSERT_NOT_REACHED();
|
ASSERT_NOT_REACHED();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue