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