mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:57:45 +00:00
WindowServer: Clean up any menu objects on process exit.
..and now that this works, implement the Quit menu action in Terminal. :^)
This commit is contained in:
parent
f311d0f353
commit
4b8133e925
10 changed files with 76 additions and 16 deletions
|
@ -2133,6 +2133,7 @@ void Process::finalize()
|
|||
{
|
||||
ASSERT(current == g_finalizer);
|
||||
|
||||
destroy_all_menus();
|
||||
destroy_all_windows();
|
||||
m_fds.clear();
|
||||
m_tty = nullptr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue