Skip to content
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

BuildContext.savedStateMap memory leak #120

Closed
CherryPerry opened this issue Aug 31, 2022 · 1 comment · Fixed by #122
Closed

BuildContext.savedStateMap memory leak #120

CherryPerry opened this issue Aug 31, 2022 · 1 comment · Fixed by #122
Labels
bug Something isn't working

Comments

@CherryPerry
Copy link
Collaborator

BuildContext.savedStateMap is not cleared after restoration, effectively holding up to 1 MB of data until the next restoration cycle.

@CherryPerry CherryPerry added the bug Something isn't working label Aug 31, 2022
@CherryPerry
Copy link
Collaborator Author

We can store only ancestryInfo and customisations from BuildContext instead of storing the whole BuildContext.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant