mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
popupMenu: close menu on destroy
This fixes a crash if a background menu is open and the background changes. https://bugzilla.gnome.org/show_bug.cgi?id=697432
This commit is contained in:
parent
0376f22d41
commit
77d3712261
1 changed files with 1 additions and 0 deletions
|
|
@ -1157,6 +1157,7 @@ const PopupMenuBase = new Lang.Class({
|
|||
},
|
||||
|
||||
destroy: function() {
|
||||
this.close();
|
||||
this.removeAll();
|
||||
this.actor.destroy();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue