diff --git a/js/ui/panelMenu.js b/js/ui/panelMenu.js index 44fd763ba..81d34490b 100644 --- a/js/ui/panelMenu.js +++ b/js/ui/panelMenu.js @@ -183,10 +183,9 @@ var Button = GObject.registerClass({ } _onDestroy() { - super._onDestroy(); - if (this.menu) this.menu.destroy(); + super._onDestroy(); } });