forked from mirror/openmw-tes3mp
Stop and delete the current music before deleting the sound output
This commit is contained in:
parent
1ade01edc8
commit
207d7dd89e
1 changed files with 3 additions and 0 deletions
|
@ -76,6 +76,9 @@ namespace MWSound
|
|||
|
||||
SoundManager::~SoundManager()
|
||||
{
|
||||
if(mMusic)
|
||||
mMusic->Stop();
|
||||
mMusic.reset();
|
||||
Output.reset();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue