mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix tile cache leaking
This commit is contained in:
parent
0f356a9582
commit
ec0ed4159b
|
@ -162,6 +162,7 @@ GameController::GameController(QObject* parent)
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
mTileCacheDeinit(controller->m_tileCache.get());
|
||||||
controller->m_tileCache.reset();
|
controller->m_tileCache.reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue