forked from qt-creator/qt-creator
ProjectExplorer: If a worker fails while we're stopping, continue
We don't need to re-initiate the stopping. Change-Id: I2c19dca854c93e0340227d08a381c3bde919363d Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -919,7 +919,10 @@ void RunControlPrivate::onWorkerFailed(RunWorker *worker, const QString &msg)
|
|||||||
worker->d->state = RunWorkerState::Done;
|
worker->d->state = RunWorkerState::Done;
|
||||||
|
|
||||||
showError(msg);
|
showError(msg);
|
||||||
|
if (state == RunControlState::Running || state == RunControlState::Starting)
|
||||||
initiateStop();
|
initiateStop();
|
||||||
|
else
|
||||||
|
continueStopOrFinish();
|
||||||
}
|
}
|
||||||
|
|
||||||
void RunControlPrivate::onWorkerStopped(RunWorker *worker)
|
void RunControlPrivate::onWorkerStopped(RunWorker *worker)
|
||||||
|
|||||||
Reference in New Issue
Block a user