CGE2: Make sure to stop playing sounds before freeing resources

This commit is contained in:
SupSuper 2021-02-19 02:38:39 +00:00 committed by Filippos Karapetis
parent 054aee03d5
commit b6d9b187d0

View File

@ -56,6 +56,7 @@ Sound::~Sound() {
void Sound::close() {
_vm->_midiPlayer->killMidi();
_vm->_mixer->stopAll();
}
void Sound::open() {