mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
appMenu: Move setApp to null before destroy
Calling `setApp` after the menu has been destroyed results in error.
Moving the method before `super.destroy()` fixes the issue.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2998>
(cherry picked from commit 6615d69985)
This commit is contained in:
parent
b7089e9ed9
commit
afe12ba9c4
1 changed files with 1 additions and 2 deletions
|
|
@ -199,9 +199,8 @@ export class AppMenu extends PopupMenu.PopupMenu {
|
|||
|
||||
/** */
|
||||
destroy() {
|
||||
super.destroy();
|
||||
|
||||
this.setApp(null);
|
||||
super.destroy();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue