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

TFE_Asset: fix copy-paste bug in hd sprite asset cleanup #407

Closed
wants to merge 1 commit into from
Closed

TFE_Asset: fix copy-paste bug in hd sprite asset cleanup #407

wants to merge 1 commit into from

Conversation

mlauss2
Copy link
Contributor

@mlauss2 mlauss2 commented May 17, 2024

This fixes a copy-paste bug which leads to a crash on shutdown when no HD assets are available.

Thread 1 "theforceengine" received signal SIGSEGV, Segmentation fault.
TFE_Sprite_Jedi::freePool (pool=pool@entry=POOL_GAME) at TheForceEngine/TFE_Asset/spriteAsset_Jedi.cpp: 717
717                             for (s32 e = 0; e < hdWaxList[i]->entryCount; e++)

@mlauss2 mlauss2 mentioned this pull request Jul 10, 2024
@luciusDXL
Copy link
Owner

I fixed this in another diff, so closing.

@luciusDXL luciusDXL closed this Jul 14, 2024
@mlauss2 mlauss2 deleted the fix-shutdowncrash branch July 15, 2024 08:14
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.

2 participants