Thank you for reporting this bug. We will make it our priority to review this report.
[OPEN-718] Ext.Button.purgeListeners() doesn't clear handler config
I have just noticed that when using the handler config option on a Ext.Button, instead of registering the handler function to the click event of the button, it manages the handler configuration independently. This means that even when you are making a call to Ext.Button.purgeListeners(), the handler function is getting executed when the button is clicked.
I think this behavior should be normalized.
Will it be addressed?
Will it be adressed or it's not considered as an issue?
I don't really feel strongly either way about this one, I can see where it might make sense to do this. 99/100, people won't call purgeListeners without destroying the component anyway.
Twitter - @evantrimboli
Don't be afraid of the source code!