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

[Merged by Bors] - prevent memory leak when dropping ParallelSystemContainer #2176

Closed
wants to merge 1 commit into from

Conversation

Frizi
Copy link
Contributor

@Frizi Frizi commented May 15, 2021

ParallelSystemContainer's system pointer was extracted from box, but it was never deallocated. This change adds missing drop implementation that cleans up that memory.

@mockersf mockersf added the A-ECS Entities, components, systems, and events label May 16, 2021
@NathanSWard NathanSWard added the C-Bug An unexpected or incorrect behavior label May 16, 2021
@bjorn3 bjorn3 added the S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it label May 16, 2021
@cart
Copy link
Member

cart commented May 17, 2021

bors r+

bors bot pushed a commit that referenced this pull request May 17, 2021
`ParallelSystemContainer`'s `system` pointer was extracted from box, but it was never deallocated. This change adds missing drop implementation that cleans up that memory.
@bors bors bot changed the title prevent memory leak when dropping ParallelSystemContainer [Merged by Bors] - prevent memory leak when dropping ParallelSystemContainer May 17, 2021
@bors bors bot closed this May 17, 2021
ostwilkens pushed a commit to ostwilkens/bevy that referenced this pull request Jul 27, 2021
…#2176)

`ParallelSystemContainer`'s `system` pointer was extracted from box, but it was never deallocated. This change adds missing drop implementation that cleans up that memory.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-ECS Entities, components, systems, and events C-Bug An unexpected or incorrect behavior S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants