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 a ResourceList<> "soft" leak when destroying a material #8305

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

pixelflinger
Copy link
Collaborator

A ResourceList<> object was leaked when destroying a material until the Engine was shut down. This could however grow unbounded if churning through Materials.

What was actually leaked was entries in the hashmap linking a material to its material instance list.

BUGS=[383158161]

A ResourceList<> object was leaked when destroying a material until the 
Engine was shut down. This could however grow unbounded if churning 
through Materials.

What was actually leaked was entries in the hashmap linking a material
to its material instance list.

BUGS=[383158161]
@pixelflinger pixelflinger added the internal Issue/PR does not affect clients label Dec 9, 2024
@pixelflinger pixelflinger merged commit 776a748 into main Dec 10, 2024
13 checks passed
@pixelflinger pixelflinger deleted the ma/material-instance-leak branch December 10, 2024 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal Issue/PR does not affect clients
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants