Dogbonee / Dualie

A 3DS homebrew library based on SFML
https://dogbonee.github.io/Dualie/
1 stars 0 forks source link

Fix crashing bug #17

Closed Dogbonee closed 1 month ago

Dogbonee commented 1 month ago

Since the audio thread is never joined/freed in the music destructor, it causes a data abort. This fix simply stops the music playback in the destructor. I also fixed a potential bug by causing Music::stop to have no effect if the music is not currently playing.