zsound icon indicating copy to clipboard operation
zsound copied to clipboard

Calling zsm_stopmusic() no music playing causes issues

Open mwiedmann opened this issue 2 years ago • 1 comments

If you call zsm_stopmusic() before any music is playing, it nearly crashes your program. It seems to run over some memory probably because some things are not initialized (like zsm_chanmask). Perhaps is can detect no music is playing and just return.

mwiedmann avatar Mar 05 '23 00:03 mwiedmann