forked from qt-creator/qt-creator
Debugger: Combine the EngineShutdown{Ok,Failed} states
... into a EngineShutdownFinished. They were never handled differently, and the only option is to proceed to DebuggerFinished anyway. So simplify the state machine a bit. Change-Id: Ied3be86fff6750abca578dc6788e4be1d895692b Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -294,14 +294,12 @@
|
||||
EngineShutdownRequested +
|
||||
+ +
|
||||
(calls *Engine->shutdownEngine()) <+-+-+-+-+-+-+-+-+-+-+-+-+-+'
|
||||
| |
|
||||
| |
|
||||
{notify- {notify-
|
||||
Engine- Engine-
|
||||
ShutdownOk} ShutdownFailed}
|
||||
+ +
|
||||
EngineShutdownOk EngineShutdownFailed
|
||||
* *
|
||||
|
|
||||
|
|
||||
{notifyEngineShutdownFinished}
|
||||
+
|
||||
EngineShutdownFinished
|
||||
*
|
||||
DebuggerFinished
|
||||
|
||||
\endcode */
|
||||
@@ -337,10 +335,8 @@ sg1: InferiorExited -> InferiorExitOk [ label="notifyInferiorExited", style="d
|
||||
sg1: InferiorExitOk -> InferiorShutdownOk
|
||||
sg1: InferiorShutdownOk -> EngineShutdownRequested
|
||||
sg1: InferiorShutdownFailed -> EngineShutdownRequested
|
||||
sg1: EngineShutdownRequested -> EngineShutdownOk [ label="Engine::shutdownEngine\nnotifyEngineShutdownOk", style="dashed" ];
|
||||
sg1: EngineShutdownRequested -> EngineShutdownFailed [ label="Engine::shutdownEngine\nnotifyEngineShutdownFailed", style="dashed" ];
|
||||
sg1: EngineShutdownOk -> DebuggerFinished [ style = "dotted" ];
|
||||
sg1: EngineShutdownFailed -> DebuggerFinished [ style = "dotted" ];
|
||||
sg1: EngineShutdownRequested -> EngineShutdownFinished [ label="Engine::shutdownEngine\nnotifyEngineShutdownFinished", style="dashed" ];
|
||||
sg1: EngineShutdownFinished -> DebuggerFinished [ style = "dotted" ];
|
||||
sg1: }
|
||||
* \endcode */
|
||||
// Additional signalling: {notifyInferiorIll} {notifyEngineIll}
|
||||
|
||||
Reference in New Issue
Block a user