mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-04 01:07:22 +00:00
CGE2: Make sure to stop playing sounds before freeing resources
This commit is contained in:
parent
054aee03d5
commit
b6d9b187d0
@ -56,6 +56,7 @@ Sound::~Sound() {
|
||||
|
||||
void Sound::close() {
|
||||
_vm->_midiPlayer->killMidi();
|
||||
_vm->_mixer->stopAll();
|
||||
}
|
||||
|
||||
void Sound::open() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user