Commit 5b720923 authored by hjk's avatar hjk

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's avatarChristian Stenger <christian.stenger@qt.io>
parent ecbe001f
......@@ -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();
......
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