When calling the destroy() method of a cycle button, I get the following error in Ext.menu.MenuManager
Code:
Uncaught TypeError: Object [object Object],[object Object] has no method 'remove'   ext-all-debug.js:56756:Ext.define.unregisterCheckable
It's fairly easy to reproduce:
Code:
Ext.create("widget.cycle", {
  menu: {
    items:[{text:"foo"},{text: "bar"}]
  }
}).destroy();


EDIT:
I guess the correct line should be:
Code:
(ext-all-debug.js:56756)
Ext.Array.remove(groups[groupId], menuItem);
instead of:
Code:
groups[groupId].remove(menuItem)
which looks like Ext JS 3 era code.