From b9fcb30b9aef60d38d839b57a24479f20f92428f Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Wed, 28 Feb 2018 14:20:09 +0200 Subject: [PATCH] ProjectExplorer: Fix crash on debugger stop Blind shot. Task-number: QTCREATORBUG-19946 Change-Id: I629efaad836cf35a7694bafd8d288a6752560c44 Reviewed-by: hjk Reviewed-by: David Schulz --- src/plugins/projectexplorer/appoutputpane.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/projectexplorer/appoutputpane.cpp b/src/plugins/projectexplorer/appoutputpane.cpp index a5f1d35a753..d6644e12553 100644 --- a/src/plugins/projectexplorer/appoutputpane.cpp +++ b/src/plugins/projectexplorer/appoutputpane.cpp @@ -727,7 +727,7 @@ void AppOutputPane::slotRunControlFinished2(RunControl *sender) #ifdef Q_OS_WIN const bool isRunning = Utils::anyOf(m_runControlTabs, [](const RunControlTab &rt) { - return rt.runControl->isRunning(); + return rt.runControl && rt.runControl->isRunning(); }); if (!isRunning) WinDebugInterface::instance()->stop();