Delete Menu to exit
I need to know what is the event that arises when you press the button to stop an addon. I need my addon remove the menus he has created at the start when it stops. The code that I have to delete a menu is correct, I have in action of button and it works, but in the event of escape does not work. Thanks.