mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix draw context memory leak when deleting the GameController
This commit is contained in:
parent
cbe5fbfeea
commit
50d76d9528
|
@ -95,6 +95,7 @@ GameController::~GameController() {
|
||||||
disconnect();
|
disconnect();
|
||||||
closeGame();
|
closeGame();
|
||||||
delete m_renderer;
|
delete m_renderer;
|
||||||
|
delete[] m_drawContext;
|
||||||
}
|
}
|
||||||
|
|
||||||
ARMDebugger* GameController::debugger() {
|
ARMDebugger* GameController::debugger() {
|
||||||
|
|
Loading…
Reference in New Issue