Commit 8a9debda authored by hjk's avatar hjk
Browse files

debugger: fix crash on exit

parent 636057b4
......@@ -1027,7 +1027,7 @@ void DebuggerEnginePrivate::doFinishDebugger()
m_engine->showMessage(_("NOTE: FINISH DEBUGGER"));
QTC_ASSERT(state() == DebuggerFinished, qDebug() << m_engine << state());
resetLocation();
if (isMasterEngine())
if (isMasterEngine() && m_runControl)
m_runControl->debuggingFinished();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment