Commit a62f882c authored by Ulf Hermann's avatar Ulf Hermann

ProjectExplorer: If a worker fails while we're stopping, continue

We don't need to re-initiate the stopping.

Change-Id: I2c19dca854c93e0340227d08a381c3bde919363d
Reviewed-by: default avatarhjk <hjk@qt.io>
parent 8507f6ae
......@@ -919,7 +919,10 @@ void RunControlPrivate::onWorkerFailed(RunWorker *worker, const QString &msg)
worker->d->state = RunWorkerState::Done;
showError(msg);
initiateStop();
if (state == RunControlState::Running || state == RunControlState::Starting)
initiateStop();
else
continueStopOrFinish();
}
void RunControlPrivate::onWorkerStopped(RunWorker *worker)
......
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