Skip to content

Under special conditions, the blockStack will grow indefinitely, leading to a memory leak. #13732

@hpxiaohao

Description

@hpxiaohao

Version

3.5.18

Reproduction link

stackblitz.com

Steps to reproduce

  • npm install && npm run dev
  • Open the Chrome browser and visit the home page.
  • For specific operations, please check the following video.

Video Proof: Click to view

What is expected?

Once the operation is stopped, the length of the blockStack array in runtime-core.esm-bundler.js should be reset to 0.

停止操作后,文件runtime-core.esm-bundler.jsblockStack长度应该为0.

What is actually happening?

Once the operation is stopped, the length of blockStack in runtime-core.esm-bundler.js will grow indefinitely, causing a memory leak.


If the line of code <div v-if="row.editConfigs[item.prop]">aaaa:</div> doesn't exist in the src/views/test-table.vuee file, there won't be any problems.

如果src/views/test-table.vue文件中没有<div v-if="row.editConfigs[item.prop]">aaaa:</div>这行代码,就不会有问题

Metadata

Metadata

Assignees

No one assigned

    Labels

    need more infoFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions