mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +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
Notes:
sideshowbarker
2024-07-17 06:10:28 +09:00
Author: https://github.com/awesomekling
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