mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 15:44:57 +00:00
LibGUI: Implement destroying individual windows without exiting the process.
This commit is contained in:
parent
5c25f0c4db
commit
37ab7b7a8c
8 changed files with 85 additions and 30 deletions
|
@ -69,7 +69,7 @@ void GObject::stopTimer()
|
|||
m_timerID = 0;
|
||||
}
|
||||
|
||||
void GObject::deleteLater()
|
||||
void GObject::delete_later()
|
||||
{
|
||||
GEventLoop::main().post_event(this, make<GEvent>(GEvent::DeferredDestroy));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue