1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 06:35:30 +00:00

Stop and delete the current music before deleting the sound output

This commit is contained in:
Chris Robinson 2012-03-17 03:01:51 -07:00
parent 1ade01edc8
commit 207d7dd89e

View File

@ -76,6 +76,9 @@ namespace MWSound
SoundManager::~SoundManager()
{
if(mMusic)
mMusic->Stop();
mMusic.reset();
Output.reset();
}