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>
This commit is contained in:
parent
1dda339395
commit
6615d69985
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