From 5b720923c2a5219bd21d30891c5d68d34b3e0055 Mon Sep 17 00:00:00 2001 From: hjk Date: Mon, 8 May 2017 09:39:58 +0200 Subject: [PATCH] ProjectExplorer: Remove wrong QTC_CHECK Tools like ClangStaticAnalyzer do not operate on a running process, so there is no valid process handle when they are 'stopping'. Change-Id: I42754475f9c7c7367e0f4875c6f3348fd81fccf8 Reviewed-by: Christian Stenger --- src/plugins/projectexplorer/runconfiguration.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/plugins/projectexplorer/runconfiguration.cpp b/src/plugins/projectexplorer/runconfiguration.cpp index 9f6b6e32059..00dea0098f4 100644 --- a/src/plugins/projectexplorer/runconfiguration.cpp +++ b/src/plugins/projectexplorer/runconfiguration.cpp @@ -1132,7 +1132,6 @@ void RunControlPrivate::setState(State newState) emit q->started(); break; case State::Stopped: - QTC_CHECK(applicationProcessHandle.isValid()); q->setApplicationProcessHandle(Utils::ProcessHandle()); toolRunner->onFinished(); targetRunner->onFinished();