Skip to content

Commit 4733408

Browse files
committed
prevent data.pendingInsert to keep reference to removed nodes (fix #5839)
1 parent a18f879 commit 4733408

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/core/vdom/patch.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ export function createPatchFunction (backend) {
202202
function initComponent (vnode, insertedVnodeQueue) {
203203
if (isDef(vnode.data.pendingInsert)) {
204204
insertedVnodeQueue.push.apply(insertedVnodeQueue, vnode.data.pendingInsert)
205+
vnode.data.pendingInsert = null
205206
}
206207
vnode.elm = vnode.componentInstance.$el
207208
if (isPatchable(vnode)) {

0 commit comments

Comments
 (0)