8000 fix: memory leak in SSR caused by global tracking by fabis94 · Pull Request #1582 · vuejs/apollo · GitHub
[go: up one dir, main page]

Skip to content

Conversation

fabis94
Copy link
Contributor
@fabis94 fabis94 commented Jan 9, 2025

Surprised that no one had noticed or reported this before. I even read comments by people on other websites mentioning a memory leak they encountered in vue-apollo, but no one ever elaborated or reported it apparently.

onScopeDispose() does not work in SSR! Thus this bit of logic that keeps Vue EffectScopes in a map never gets cleaned up and your memory will get filled up with them

#1583

@Akryum Akryum merged commit b57f2be into vuejs:v4 Jan 9, 2025
6 checks passed
@fabis94
Copy link
Contributor Author
fabis94 commented Jan 10, 2025

@Akryum thanks for merging, when can we expect this to be out as a release?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0