Memory Management in JS Web Appsblog.alexmaccaw.com 11 pointsmaccman13 years ago1 commentSaveHideCopy link On HNComments−tantalor13yThis is a library-specific solution to a specific case of JavaScript memory management. Perhaps it should be titled, "Cleaning up event listeners with JQuery."You should mention what happens if you don't remove the event listeners.In the Closure Library, you can do something similar with a EventHandler, http://docs.closure-library.googlecode.com/git/class_goog_ev...
Comments
This is a library-specific solution to a specific case of JavaScript memory management. Perhaps it should be titled, "Cleaning up event listeners with JQuery."
You should mention what happens if you don't remove the event listeners.
In the Closure Library, you can do something similar with a EventHandler, http://docs.closure-library.googlecode.com/git/class_goog_ev...