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

NEVERHOOD: Possible fix for bug #12930 (crash on exit) #3393

Merged
merged 1 commit into from Sep 29, 2021

Conversation

eriktorbjorn
Copy link
Member

This is the fix I suggested on https://bugs.scummvm.org/ticket/12930

I don't know if it's correct - I never got any feedback on it - but it does seem to fix the game crashing on exit for me. If I'm right, it was trying to keep playing a sound after the audio data for it had been freed. With the change, sound 3 is handled the same way as sounds 1 and 2, i.e. stopped first.

It's consistent with how sounds 1 and 2 are handled, and seems to fix
bug #12930, where the game can crash on exit otherwise.
@bluegr
Copy link
Member

bluegr commented Sep 29, 2021

This is indeed a correct fix, as sounds in this category were not properly cleared. Your implementation follows the handling done for the other two categories. Thanks for spotting and fixing this! Merging

@bluegr bluegr merged commit 912f9b7 into scummvm:master Sep 29, 2021
@eriktorbjorn eriktorbjorn deleted the fix-12930 branch February 8, 2022 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants