Skip to content

Conversation

@G-Moris
Copy link
Contributor

@G-Moris G-Moris commented Apr 4, 2025

Fix for double deletion of an element

@tederis
Copy link
Member

tederis commented Apr 5, 2025

There's no double deletion. RwTextureDestroy internally decreases refs count. The existing code decreases refs by one at a time and deletes a texture when the counter gets zeroed.

@tederis tederis added the invalid This doesn't seem right label Apr 5, 2025
@G-Moris
Copy link
Contributor Author

G-Moris commented Apr 5, 2025

During ForceUnload testing, a failure occurred in this part of the code.
If I can find a proper solution that accounts for all the edge cases, I might open a new PR.

@G-Moris G-Moris closed this Apr 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

invalid This doesn't seem right

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants