mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:57:35 +00:00
LibWeb+WebContent: Add EventLoopPlugin::quit() virtual
This allows you to customize breaking out of the system event loop.
This commit is contained in:
parent
a0d5724a58
commit
829186af7d
4 changed files with 9 additions and 1 deletions
|
@ -31,4 +31,9 @@ NonnullRefPtr<Timer> EventLoopPluginSerenity::create_timer()
|
|||
return TimerSerenity::create();
|
||||
}
|
||||
|
||||
void EventLoopPluginSerenity::quit()
|
||||
{
|
||||
Core::EventLoop::current().quit(0);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue