mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-21 12:04:56 +00:00
TextureCacheBase: Fix possible crash on shutdown with deferred EFB copies
This commit is contained in:
parent
427dd45151
commit
087b11e780
1 changed files with 3 additions and 0 deletions
|
@ -96,6 +96,9 @@ TextureCacheBase::TextureCacheBase()
|
|||
|
||||
TextureCacheBase::~TextureCacheBase()
|
||||
{
|
||||
// Clear pending EFB copies first, so we don't try to flush them.
|
||||
m_pending_efb_copies.clear();
|
||||
|
||||
HiresTexture::Shutdown();
|
||||
Invalidate();
|
||||
Common::FreeAlignedMemory(temp);
|
||||
|
|
Loading…
Add table
Reference in a new issue