Fix audio shutdown crashes

This commit is contained in:
elasota
2020-01-18 18:39:54 -05:00
parent c79ddd0d35
commit 69ef542969
3 changed files with 24 additions and 4 deletions

View File

@@ -361,8 +361,8 @@ void KillSound (void)
if (dontLoadSounds)
return;
DumpBufferSounds();
CloseSoundChannels();
DumpBufferSounds();
}
//-------------------------------------------------------------- SoundBytesNeeded