all repos — mgba @ 49d668f2854fd8f8e4cc27374db83dd587b5148f

mGBA Game Boy Advance Emulator

Fix crashing on exit
Jeffrey Pfau jeffrey@endrift.com
Mon, 13 Oct 2014 22:22:43 -0700
commit

49d668f2854fd8f8e4cc27374db83dd587b5148f

parent

2e031a8c49fee06fadae7c33c83c8042cdfa2f35

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M src/platform/qt/GameController.cppsrc/platform/qt/GameController.cpp

@@ -87,6 +87,7 @@ }

GameController::~GameController() { m_audioThread->quit(); + m_audioThread->wait(); if (GBAThreadIsPaused(&m_threadContext)) { GBAThreadUnpause(&m_threadContext); }