forked from qt-creator/qt-creator
DebuggerEngine: fix shutdown when run failed
Reviewed-by: hjk
This commit is contained in:
@@ -618,7 +618,7 @@ static bool isAllowedTransition(DebuggerState from, DebuggerState to)
|
||||
|| to == InferiorUnrunnable || to == EngineRunFailed;
|
||||
|
||||
case EngineRunFailed:
|
||||
return to == InferiorShutdownRequested;
|
||||
return to == EngineShutdownRequested;
|
||||
|
||||
case InferiorRunRequested:
|
||||
return to == InferiorRunOk || to == InferiorRunFailed;
|
||||
|
||||
Reference in New Issue
Block a user