The key difference between view.remove() in backbone proper and view.tearDown() in coccyx is the presence in the former of view.stopListening. Is this something that should be added to that method? In our project we've been relying on tearDown instead of remove (as per the coccyx docs) and traced a nasty bug back to a listenTo that was still bound to a view we had torn down.
The key difference between view.remove() in backbone proper and view.tearDown() in coccyx is the presence in the former of view.stopListening. Is this something that should be added to that method? In our project we've been relying on tearDown instead of remove (as per the coccyx docs) and traced a nasty bug back to a listenTo that was still bound to a view we had torn down.