Audio/Sound: Fix crash when destroying moved Sound
This commit is contained in:
parent
fd29d8d031
commit
22ae68fdca
|
|
@ -43,7 +43,8 @@ namespace Nz
|
|||
*/
|
||||
Sound::~Sound()
|
||||
{
|
||||
Stop();
|
||||
if (m_source)
|
||||
Stop();
|
||||
}
|
||||
|
||||
/*!
|
||||
|
|
|
|||
Loading…
Reference in New Issue