Fix double-ending the GBA thread
Jeffrey Pfau jeffrey@endrift.com
Wed, 15 Oct 2014 02:48:37 -0700
1 files changed,
2 insertions(+),
2 deletions(-)
M
src/platform/qt/GameController.cpp
→
src/platform/qt/GameController.cpp
@@ -90,8 +90,8 @@ m_audioThread->wait();
if (GBAThreadIsPaused(&m_threadContext)) { GBAThreadUnpause(&m_threadContext); } - GBAThreadEnd(&m_threadContext); - GBAThreadJoin(&m_threadContext); + disconnect(); + closeGame(); delete m_renderer; }