Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: prevent memory leak due to circular reference in vnodes
fix #6759
- Loading branch information
405d8e9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个并没有完全解决内存泄露问题,keeplive 包含复杂的的嵌套组件的时候,在组件被销毁后,其实内存还没有被清理
405d8e9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
目前我用这个能解决 但是会有兼容性问题
405d8e9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
405d8e9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
兼容问题是什么?@denonzhu