Commit 0269e60b authored by Christiaan Janssen's avatar Christiaan Janssen
Browse files

DebuggerEngine: fix shutdown when run failed

Reviewed-by: hjk
parent 4cb87c3e
...@@ -618,7 +618,7 @@ static bool isAllowedTransition(DebuggerState from, DebuggerState to) ...@@ -618,7 +618,7 @@ static bool isAllowedTransition(DebuggerState from, DebuggerState to)
|| to == InferiorUnrunnable || to == EngineRunFailed; || to == InferiorUnrunnable || to == EngineRunFailed;
case EngineRunFailed: case EngineRunFailed:
return to == InferiorShutdownRequested; return to == EngineShutdownRequested;
case InferiorRunRequested: case InferiorRunRequested:
return to == InferiorRunOk || to == InferiorRunFailed; return to == InferiorRunOk || to == InferiorRunFailed;
......
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