Skip to content

Conversation

@mrxz
Copy link
Contributor

@mrxz mrxz commented Feb 11, 2024

Description:
In the Component constructor four objects are requested from the object pool. Upon deletion only two of those were recycled back into the pool. This PR adds the missing two recycle calls, preventing them from leaking memory.

Changes proposed:

  • Recycle nextData and previousOldData upon component destroy.

@dmarcos
Copy link
Member

dmarcos commented Feb 12, 2024

Thanks!

@dmarcos dmarcos merged commit 6b49fb5 into aframevr:master Feb 12, 2024
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