forked from qt-creator/qt-creator
QmlCppDebugger: adjusted state changes when one engine fails
reviewed-by: hjk
This commit is contained in:
@@ -990,7 +990,7 @@ void DebuggerEngine::notifyInferiorIll()
|
||||
|
||||
void DebuggerEngine::shutdownSlaveEngine()
|
||||
{
|
||||
QTC_ASSERT(state() == InferiorShutdownOk, /**/);
|
||||
QTC_ASSERT(isAllowedTransition(state(),EngineShutdownRequested), /**/);
|
||||
setState(EngineShutdownRequested);
|
||||
shutdownEngine();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user