3cde65e85e
PopupBaseMenu provides a destroy() method that will destroy the menu actor and make sure that the menu will be removed from the corresponding PopupMenuManager (if any). We miss the latter when we destroy the menu actor directly, so use the menu method instead. https://bugzilla.gnome.org/show_bug.cgi?id=724688