-
-
Notifications
You must be signed in to change notification settings - Fork 859
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
i18n reference to root causes memory leak #1044
Labels
help wanted
Extra attention is needed
Status: PR Welcome
Welcome to Pull Request
Type: Bug
Bug or Bug fixes
Comments
The existing architecture will lead to cross reference when multiple Vue root instances are used |
kazupon
added
help wanted
Extra attention is needed
Status: PR Welcome
Welcome to Pull Request
Type: Bug
Bug or Bug fixes
labels
Nov 21, 2020
Thank you for your reporting! |
lzxb
added a commit
to lzxb/vue-i18n
that referenced
this issue
Mar 21, 2021
kazupon
pushed a commit
that referenced
this issue
Mar 22, 2021
close (release v8.24.2) |
Closed
kazupon
added a commit
that referenced
this issue
Apr 28, 2021
kazupon
added a commit
that referenced
this issue
Apr 28, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
help wanted
Extra attention is needed
Status: PR Welcome
Welcome to Pull Request
Type: Bug
Bug or Bug fixes
vue & vue-i18n version
ex: 2.6.12, 8.22.1
Reproduction Link
Steps to reproduce
What is Expected?
i18n.$root in root
beforeDestroy
hook remove it.What is actually happening?
When the root instance is destroyed, the i18n object also keeps a reference to the root, which makes it impossible to be recycled by memory
The text was updated successfully, but these errors were encountered: