This repository has been archived by the owner on Mar 20, 2021. It is now read-only.
removing a view as a result of a collection reset doesn't clean up child views #273
Labels
Milestone
When using a CollectionView, resetting the collection removes child views from view but does not call their "destroyed" callback.
Here's an example: http://jsfiddle.net/8HN6q/. Clicking on any of the "remove me" button will remove models from the collection individually and call that view's destroyed callback; clicking on the "clear" button will reset the collection and remove the views, but without calling the "destroyed" callback.
The text was updated successfully, but these errors were encountered: