Ensure the GBA thread exits when destroying the game controller
Jeffrey Pfau jeffrey@endrift.com
Tue, 28 Jan 2014 23:15:47 -0800
1 files changed,
2 insertions(+),
0 deletions(-)
M
src/platform/qt/GameController.cpp
→
src/platform/qt/GameController.cpp
@@ -31,6 +31,8 @@ m_threadContext.rewindBufferCapacity = 0;
} GameController::~GameController() { + GBAThreadEnd(&m_threadContext); + GBAThreadJoin(&m_threadContext); delete m_renderer; }