mirror of
https://github.com/jorio/Pomme.git
synced 2025-01-13 12:31:44 +00:00
Dispose sound channels before shutting down cmixer
This commit is contained in:
parent
2c22e02554
commit
bf2469b659
@ -402,9 +402,9 @@ void Pomme::Sound::InitMixer()
|
||||
|
||||
void Pomme::Sound::ShutdownMixer()
|
||||
{
|
||||
cmixer::ShutdownWithSDL();
|
||||
while (Pomme::Sound::gHeadChan)
|
||||
{
|
||||
SndDisposeChannel(Pomme::Sound::gHeadChan->macChannel, true);
|
||||
}
|
||||
cmixer::ShutdownWithSDL();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user