Event Handler Memory Cleanup

Event Handler Memory Cleanup

Hey Peeps,

Does jQuery .on() perform any automatic memory cleanup?

Example: <button> has an attached jQuery .on() 'click' event handler. I whack <button> from the DOM. Is the click event handler left in memory?

Thanks!