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 texture leaks #218

Merged
merged 2 commits into from
Jan 16, 2024
Merged

Fix texture leaks #218

merged 2 commits into from
Jan 16, 2024

Conversation

takahiro0327
Copy link
Collaborator

Fixed code that was not releasing generated temporary textures. Please merge.
PoseTool seems to be calling UnloadUnused at the caller. So it is not affected. However, I fixed it because of bad manners.

Since this is a resource that will be recovered by UnloadUnusedAssets, there will be no long-term impact from the modification. In the short term, memory usage peaks should be somewhat reduced when textures are changed at high frequency.

@ManlyMarco ManlyMarco merged commit 33a48c1 into IllusionMods:master Jan 16, 2024
@takahiro0327 takahiro0327 deleted the fix_leak branch January 16, 2024 13:31
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.

None yet

2 participants