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

Subtexture textures are not properly cleaned #493

Closed
wouterlucas opened this issue Jan 22, 2025 · 0 comments · Fixed by #497
Closed

Subtexture textures are not properly cleaned #493

wouterlucas opened this issue Jan 22, 2025 · 0 comments · Fixed by #497
Labels
bug Something isn't working

Comments

@wouterlucas
Copy link
Contributor

When there are subtextures that have 0 renderable owners, the subtexture is never freed.

Tested by:

  • Spawn a subtexture node
  • Listen for freed events on subtexture node
  • Create noise textures until you hit the memory threshold
  • Move subtexture node off screen

Results:
No freed event happens and texture remains in memory

Expected results:
Subtexture node would be freed up by the texture memory manager when off screen

@wouterlucas wouterlucas added the bug Something isn't working label Jan 22, 2025
@wouterlucas wouterlucas linked a pull request Jan 23, 2025 that will close this issue
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