mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix mCoreConfig leaking
This commit is contained in:
parent
5a2d8033f9
commit
ce970fc863
|
@ -593,6 +593,7 @@ void GameController::cleanGame() {
|
|||
delete[] m_drawContext;
|
||||
delete[] m_frontBuffer;
|
||||
|
||||
mCoreConfigDeinit(&m_threadContext.core->config);
|
||||
m_threadContext.core->deinit(m_threadContext.core);
|
||||
m_threadContext.core = nullptr;
|
||||
m_gameOpen = false;
|
||||
|
|
Loading…
Reference in New Issue