DebuggerEngine: fix shutdown when run failed

Reviewed-by: hjk
This commit is contained in:
Christiaan Janssen
2010-11-29 17:12:43 +01:00
parent 4cb87c3e08
commit 0269e60bac

View File

@@ -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;