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