LibGUI: Implement destroying individual windows without exiting the process.

This commit is contained in:
Andreas Kling 2019-01-30 20:03:52 +01:00
parent 5c25f0c4db
commit 37ab7b7a8c
Notes: sideshowbarker 2024-07-19 15:55:05 +09:00
8 changed files with 85 additions and 30 deletions

View file

@ -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));
}