Skip to content

Commit

Permalink
fix else fragment not destoryed on teardown (fix vuejs#2206)
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Jan 29, 2016
1 parent a2ab1f5 commit 0fc2e96
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/directives/public/if.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,8 @@ export default {
if (this.frag) {
this.frag.destroy()
}
if (this.elseFrag) {
this.elseFrag.destroy()
}
}
}

0 comments on commit 0fc2e96

Please sign in to comment.