Skip to content

KeepAlive + Transition + v-if 同时使用时会导致时会导致内存泄漏的问题依然存在 #12860

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Muspcn opened this issue Feb 11, 2025 · 3 comments · Fixed by #12862
Labels
❗ p4-important Priority 4: this fixes bugs that violate documented behavior, or significantly improves perf. scope: keep-alive scope: transition

Comments

@Muspcn
Copy link

Muspcn commented Feb 11, 2025

Vue version

3.5.13

Link to minimal reproduction

Steps to reproduce

与问题 KeepAlive + Transition + v-if 同时使用时会导致时会导致内存泄漏的2个bug #10620 #10620 一致

What is expected?

回收掉销毁的页面

What is actually happening?

没回收掉

Image

System Info

"vue": "^3.5.13",
        "vue-i18n": "9.2.2",
        "vue-jsonp": "2.0.0",
        "vue-router": "^4.3.0",

浏览器 Google Chrome 133.0.6943.59

Any additional comments?

No response

@Muspcn
Copy link
Author

Muspcn commented Feb 11, 2025

去掉Transition后游离的节点就没那么多了

@edison1105
Copy link
Member

minimal reproduction

@Muspcn
Copy link
Author

Muspcn commented Feb 12, 2025

efficient

@github-actions github-actions bot locked and limited conversation to collaborators Feb 27, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
❗ p4-important Priority 4: this fixes bugs that violate documented behavior, or significantly improves perf. scope: keep-alive scope: transition
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants