Skip to content

Commit

Permalink
A workaround but not a fix for #202.
Browse files Browse the repository at this point in the history
  • Loading branch information
seisatsu committed Jan 29, 2018
1 parent 5cc094b commit 8c47eba
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/audiomanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -480,4 +480,10 @@ def _terminate(self) -> None:
self.stop_music()
self.stop_all_sfx()
Mix_Quit()
Mix_CloseAudio()

# TODO: Investigate
# This line commented out because it causes segfaults on shutdown, on some Linux systems only.
# We have so far been unable to determine the cause. Fortunately, this memory will all be released
# with the program's exit just milliseconds from now, so it probably doesn't matter terribly.
# Still, it's bad form and should be fixed. Issue: https://github.com/Driftwood2D/Driftwood/issues/202
#Mix_CloseAudio()

0 comments on commit 8c47eba

Please sign in to comment.