Debugger: Add missing state transition

DebuggerProcessFinished in EngineSetupRequested means EngineSetupFailed.

Could be triggered with LLDB "Run as Root" plus <Cancel> in the dialog.

Change-Id: Idbfcaebfc302c7646f9b85275d1d57be17cd0922
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
hjk
2024-03-12 16:47:24 +01:00
parent 3322186b0d
commit 7a769c59e7

View File

@@ -1797,6 +1797,9 @@ void DebuggerEngine::notifyDebuggerProcessFinished(const ProcessResultData &resu
case DebuggerFinished:
// Nothing to do.
break;
case EngineSetupRequested:
notifyEngineSetupFailed();
break;
case EngineShutdownRequested:
case InferiorShutdownRequested:
notifyEngineShutdownFinished();