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

Fix leak in core because of bump allocated Vec #1364

Merged
merged 3 commits into from Aug 15, 2023

Conversation

ealmloff
Copy link
Member

We were bump allocating a Vec. That Vec will never run it's drop handler which results in leaked memory

Fixes #1361

@ealmloff ealmloff added bug Something isn't working core relating to the core implementation of the virtualdom breaking This is a breaking change labels Aug 15, 2023
@jkelleyrtp jkelleyrtp merged commit a2df9c2 into DioxusLabs:master Aug 15, 2023
10 checks passed
@ealmloff ealmloff deleted the fix-core-leak branch August 15, 2023 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking This is a breaking change bug Something isn't working core relating to the core implementation of the virtualdom
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: Potential memory leak (maybe just on native-core)
2 participants