From a8fa002c4a9218647f0d443e09b493d4208868bc Mon Sep 17 00:00:00 2001 From: hjk Date: Wed, 19 Jul 2017 11:23:12 +0200 Subject: [PATCH] ProjectExplorer: Initiate proper ramp down if a RunWorker fails ... instead of simply setting the result state. Change-Id: I6525893b6459fbc07a6da2d036d531101864515b Reviewed-by: Christian Stenger --- src/plugins/projectexplorer/runconfiguration.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/projectexplorer/runconfiguration.cpp b/src/plugins/projectexplorer/runconfiguration.cpp index 8bc82b43274..02a39f326a1 100644 --- a/src/plugins/projectexplorer/runconfiguration.cpp +++ b/src/plugins/projectexplorer/runconfiguration.cpp @@ -947,7 +947,7 @@ void RunControlPrivate::onWorkerFailed(RunWorker *worker, const QString &msg) worker->d->state = RunWorkerState::Failed; showError(msg); - setState(RunControlState::Stopped); + initiateStop(); } void RunControlPrivate::onWorkerStopped(RunWorker *worker)