Skip to content

Commit f57ea7c

Browse files
committed
Merge pull request #2162 from elsassph/fix-2161-dev
Fixes: __vfrag__ references prevent GC of Vue objects
2 parents 7fd665f + f3e79b7 commit f57ea7c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/fragment/fragment.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ Fragment.prototype.destroy = function () {
181181
if (this.parentFrag) {
182182
this.parentFrag.childFrags.$remove(this)
183183
}
184+
this.node.__vfrag__ = null
184185
this.unlink()
185186
}
186187

0 commit comments

Comments
 (0)