diff --git a/src/common/SoundSDL2.cxx b/src/common/SoundSDL2.cxx index 25ec5c1bb..c9749e843 100644 --- a/src/common/SoundSDL2.cxx +++ b/src/common/SoundSDL2.cxx @@ -91,6 +91,7 @@ SoundSDL2::~SoundSDL2() if (!myIsInitializedFlag) return; SDL_CloseAudioDevice(myDevice); + SDL_QuitSubSystem(SDL_INIT_AUDIO); } // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -