From 5a6be59fadfb9578cb8139922ab4008ca781d293 Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Sat, 8 Nov 2014 18:52:52 +0100 Subject: [PATCH] mtsgui deadlock fix --- src/mtsgui/mainwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mtsgui/mainwindow.cpp b/src/mtsgui/mainwindow.cpp index b8afae50..afcc796f 100644 --- a/src/mtsgui/mainwindow.cpp +++ b/src/mtsgui/mainwindow.cpp @@ -1469,6 +1469,8 @@ void MainWindow::on_actionStop_triggered() { } else if (context->mode == ERender) { context->mode = EPreview; m_contextMutex.unlock(); + } else { + m_contextMutex.unlock(); } ui->glView->resumePreview();