svkaiser / Doom64EX

Doom64EX is a reverse-engineering project aimed to recreate Doom64 as close as possible with additional modding features.
http://doom64ex.wordpress.com/
GNU General Public License v2.0
239 stars 49 forks source link

Fix segmentation fault by calling SDL_CloseAudio() before deleting sequencer #58

Closed Manuel-K closed 7 years ago

Manuel-K commented 7 years ago

Prevent calls to Play_Audio() which can lead to segmentation faults during fluid_synth_write_s16 when the sequencer is deleted.

On my system doom64ex crashes when I quit a running game session. This seems to fix the issue.

pinkwah commented 7 years ago

Thanks.