mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix memory leak in ~GameController
This commit is contained in:
parent
f4d6ef74b4
commit
b01e15b913
|
@ -94,6 +94,7 @@ GameController::~GameController() {
|
|||
m_audioThread->wait();
|
||||
disconnect();
|
||||
closeGame();
|
||||
GBAInputMapDeinit(&m_threadContext.inputMap);
|
||||
delete m_renderer;
|
||||
delete[] m_drawContext;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue