debugger: allow state transition EngineShutdownRequested -> EngineShutdownFailed

This commit is contained in:
hjk
2010-09-07 13:22:12 +02:00
parent dfe15b5310
commit a364b93577
2 changed files with 13 additions and 10 deletions

View File

@@ -1104,7 +1104,7 @@ static bool isAllowedTransition(DebuggerState from, DebuggerState to)
return to == EngineShutdownRequested;
case EngineShutdownRequested:
return to == EngineShutdownOk;
return to == EngineShutdownOk || to == EngineShutdownFailed;
case EngineShutdownOk:
return to == DebuggerFinished;
case EngineShutdownFailed: