mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 03:59:36 +00:00
Fix crash if a movie fails to load
This commit is contained in:
@@ -165,7 +165,8 @@ AnimationPackage::AnimationPackage()
|
|||||||
|
|
||||||
AnimationPackage::~AnimationPackage()
|
AnimationPackage::~AnimationPackage()
|
||||||
{
|
{
|
||||||
m_resArchive->Destroy();
|
if (m_resArchive)
|
||||||
|
m_resArchive->Destroy();
|
||||||
PortabilityLayer::MemoryManager::GetInstance()->Release(m_images);
|
PortabilityLayer::MemoryManager::GetInstance()->Release(m_images);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user