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