From what I have read http://lostechies.com/derickbailey/2011/09/15/zombies-run-managing-page-transitions-in-backbone-apps/ and Backbone.js : repopulate or recreate the view? I learned that hidden view should be unbind'ed from events.
How about removing a model? After calling
remove()
on Collectiondestroy()
on the Modelremove()
on View
Shall I call off()
on Model as the last step?
Assuming no one else hold a reference to the instance of the model, is that the end of zombie killing? The view might still have a reference to the model, should the view's this.model
set to null
?
Anymore memory leak?
Thank you