mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
LibGUI: Make GUI::Application a Core::Object
Having this on the stack makes whole-program teardown iffy. Turning it into a Core::Object allows anyone who needs it to extends its lifetime.
This commit is contained in:
parent
0d577ab781
commit
1dd1595043
Notes:
sideshowbarker
2024-07-19 05:11:31 +09:00
Author: https://github.com/awesomekling
Commit: 1dd1595043
51 changed files with 140 additions and 138 deletions
|
@ -49,8 +49,6 @@ Application& Application::the()
|
|||
|
||||
Application::Application(int argc, char** argv)
|
||||
{
|
||||
(void)argc;
|
||||
(void)argv;
|
||||
ASSERT(!s_the);
|
||||
s_the = this;
|
||||
m_event_loop = make<Core::EventLoop>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue