freedomjs/freedom — pull request #168 by willscott (2014-12-09 14:38:30+00:00)
Title: Plug Memory Leaks

This Pull Request:

* Removes the return value of ```view.show()``` to suppress warnings.
* Removes the return values in the logger tests to suppress warnings.
* Has ```entry``` tear down the manager when the page closes the root class, which causes all workers to be destroyed.
* Adds a ```DEBUG_BACKREF``` field to the anonymous closure created by ```util.handleEvents``` so that you can see what object an event is attached to.
* Deletes a few references that were preventing data structures from being garbage collected because of outstanding event listeners.