Skip to content

Commit

Permalink
make sure resolvers get cleaned up on fragment unbind
Browse files Browse the repository at this point in the history
  • Loading branch information
evs-chris committed Mar 7, 2017
1 parent 507e8be commit b3035f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/view/Fragment.js
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ export default class Fragment {

unbind () {
this.items.forEach( unbind );
this.resolvers.forEach( unbind );
this.bound = false;

return this;
Expand Down

0 comments on commit b3035f0

Please sign in to comment.