Thanks!
You said that "calling MyAddon
isable() will automatically unregister all events/messages that were registered with your addon through AceEvent".
However, from the doc I understood that I have to put the UnregisterEvent myself in OnDisable() :
Code:
function MyAddon:OnDisable()
-- Unhook, Unregister Events, Hide frames that you created.
-- You would probably only use an OnDisable if you want to
-- build a "standby" mode, or be able to toggle modules on/off.
end
So did I understand it wrong?