mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +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:
@@ -3,8 +3,9 @@
|
||||
#include "WSMenuItem.h"
|
||||
#include <Kernel/Process.h>
|
||||
|
||||
WSMenuBar::WSMenuBar(Process& process)
|
||||
: m_process(process.make_weak_ptr())
|
||||
WSMenuBar::WSMenuBar(int menubar_id, Process& process)
|
||||
: m_menubar_id(menubar_id)
|
||||
, m_process(process.make_weak_ptr())
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user