mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 19:29:16 +00:00
CEventLoop: Make it possible to determine running/quit state without using exec()
... by removing a redundant member that nothing uses (running), and exposing whether or not quit has been requested.
This commit is contained in:
committed by
Andreas Kling
parent
bb288c1baf
commit
8df3e2516f
@@ -87,8 +87,6 @@ private:
|
||||
int CEventLoop::exec()
|
||||
{
|
||||
CEventLoopPusher pusher(*this);
|
||||
|
||||
m_running = true;
|
||||
for (;;) {
|
||||
if (m_exit_requested)
|
||||
return m_exit_code;
|
||||
|
||||
Reference in New Issue
Block a user