mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 21:59:07 +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:
parent
bb288c1baf
commit
8df3e2516f
Notes:
sideshowbarker
2024-07-19 13:55:52 +09:00
Author: https://github.com/rburchell
Commit: 8df3e2516f
Pull-request: https://github.com/SerenityOS/serenity/pull/117
2 changed files with 1 additions and 4 deletions
|
@ -87,8 +87,6 @@ private:
|
|||
int CEventLoop::exec()
|
||||
{
|
||||
CEventLoopPusher pusher(*this);
|
||||
|
||||
m_running = true;
|
||||
for (;;) {
|
||||
if (m_exit_requested)
|
||||
return m_exit_code;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue