argos
argos copied to clipboard
remove redeclaration of _onDestroy()
_onDestroy() is already present in panelMenu.Button.
https://github.com/GNOME/gnome-shell/blob/e6089c83e2993098814b7056e1c7f54e5dc06820/js/ui/panelMenu.js#L187
So this function is called twice. Put log("### something") into it to check. And proper Button._onDestroy() is not called at all. This leads to shell crash on screen lock (issue #79).
removed this.menu.removeAll() - fix errors in journal because menu is already destroyed.