Remove code that expects the GBA thread to still be around after it has ended
Jeffrey Pfau jeffrey@endrift.com
Sat, 18 Oct 2014 04:09:49 -0700
1 files changed,
0 insertions(+),
4 deletions(-)
jump to
M
src/platform/qt/Display.cpp
→
src/platform/qt/Display.cpp
@@ -52,13 +52,9 @@ }
void Display::stopDrawing() { if (m_drawThread) { - GBAThreadInterrupt(m_context); - GBASyncSuspendDrawing(&m_context->sync); QMetaObject::invokeMethod(m_painter, "stop", Qt::BlockingQueuedConnection); m_drawThread->exit(); m_drawThread = nullptr; - GBASyncResumeDrawing(&m_context->sync); - GBAThreadContinue(m_context); } }