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:
parent
1ade01edc8
commit
207d7dd89e
@ -76,6 +76,9 @@ namespace MWSound
|
||||
|
||||
SoundManager::~SoundManager()
|
||||
{
|
||||
if(mMusic)
|
||||
mMusic->Stop();
|
||||
mMusic.reset();
|
||||
Output.reset();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user