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

Fixes RigidBody remove component #5803

Merged
merged 2 commits into from Nov 8, 2023
Merged

Fixes RigidBody remove component #5803

merged 2 commits into from Nov 8, 2023

Conversation

marklundin
Copy link
Member

This PR fixes #4145 and #5801 where the RigidBodyComponentSystem would never remove a rigid body from Ammo when removeComponent was called

I confirm I have read the contributing guidelines and signed the Contributor License Agreement.

Copy link
Member

@slimbuck slimbuck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we expect any other changes in behaviour with this change (other than the intended memory free)?

@marklundin
Copy link
Member Author

@slimbuck no it shouldn't

@marklundin marklundin merged commit 1ccca06 into main Nov 8, 2023
7 checks passed
@marklundin marklundin deleted the fix-rigidbody-remove branch March 8, 2024 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: physics Physics related issue bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Potential memory leak in Rigidbody Component
3 participants