debugger: finish combined shutdown properly

This commit is contained in:
hjk
2011-01-14 17:34:42 +01:00
parent 7bae5dd556
commit f245ee6fb5
2 changed files with 8 additions and 18 deletions

View File

@@ -557,14 +557,18 @@ void QmlCppEngine::slaveEngineStateChanged
case EngineShutdownOk:
if (otherEngine->state() == EngineShutdownOk)
notifyEngineShutdownOk();
; // Wait for DebuggerFinished.
else
qDebug() << "... WAITING FOR OTHER ENGINE SHUTDOWN...";
break;
case DebuggerFinished:
break;
if (otherEngine->state() == DebuggerFinished)
notifyEngineShutdownOk();
else
qDebug() << "... WAITING FOR OTHER DEBUGGER TO FINISH...";
break;
}
}