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 <christian.stenger@qt.io>
This commit is contained in:
hjk
2017-05-08 09:39:58 +02:00
parent ecbe001f2e
commit 5b720923c2

View File

@@ -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();