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

Effects cache: Fix memory leak #3177

Merged
merged 1 commit into from
Dec 23, 2023
Merged

Effects cache: Fix memory leak #3177

merged 1 commit into from
Dec 23, 2023

Conversation

Ghabry
Copy link
Member

@Ghabry Ghabry commented Dec 22, 2023

The BitmapRef reference counter never reached 0 because it was part of the key, preventing deletion. Changed it to a pointer. The value is never read so doesn't matter if it becomes stale.

Fix #3163

The BitmapRef reference counter never reached 0 because it was part of the key, preventing deletion.
Changed it to a pointer. The value is never read so doesn't matter if it becomes stale.

Fix EasyRPG#3163
@Ghabry Ghabry added this to the 0.8.1 milestone Dec 22, 2023
@fdelapena fdelapena added Bitmaps Performance Related to improvements on memory, less CPU or disk usage, battery savings, etc. labels Dec 23, 2023
@fdelapena fdelapena merged commit 92a0dc4 into EasyRPG:master Dec 23, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bitmaps Performance Related to improvements on memory, less CPU or disk usage, battery savings, etc.
Development

Successfully merging this pull request may close these issues.

Show StringPicture/Picture - Possible Memory Leak
2 participants