Terminate audio after the SoundSDL2 has been destroyed.

This commit is contained in:
Christian Speckner 2018-08-10 00:11:47 +02:00
parent 73475d33d1
commit 1e0ed9c104
1 changed files with 1 additions and 0 deletions

View File

@ -91,6 +91,7 @@ SoundSDL2::~SoundSDL2()
if (!myIsInitializedFlag) return;
SDL_CloseAudioDevice(myDevice);
SDL_QuitSubSystem(SDL_INIT_AUDIO);
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -