forked from qt-creator/qt-creator
Notify disconnect to debug server when inferiorshutdownrequested
Change-Id: I15bb1342f647362cb00e4b0d0453b663a2d3f637 Reviewed-on: http://codereview.qt.nokia.com/3095 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
This commit is contained in:
@@ -375,10 +375,13 @@ void QmlEngine::handleRemoteSetupFailed(const QString &message)
|
||||
|
||||
void QmlEngine::shutdownInferior()
|
||||
{
|
||||
d->m_adapter.activeDebuggerClient()->shutdownInferior();
|
||||
|
||||
if (isSlaveEngine()) {
|
||||
resetLocation();
|
||||
}
|
||||
stopApplicationLauncher();
|
||||
|
||||
notifyInferiorShutdownOk();
|
||||
}
|
||||
|
||||
@@ -417,7 +420,7 @@ void QmlEngine::interruptInferior()
|
||||
{
|
||||
logMessage(LogSend, "INTERRUPT");
|
||||
d->m_adapter.activeDebuggerClient()->interruptInferior();
|
||||
|
||||
notifyInferiorStopOk();
|
||||
}
|
||||
|
||||
void QmlEngine::executeStep()
|
||||
@@ -724,8 +727,6 @@ void QmlEngine::inferiorSpontaneousStop()
|
||||
{
|
||||
if (state() == InferiorRunOk)
|
||||
notifyInferiorSpontaneousStop();
|
||||
else
|
||||
notifyInferiorStopOk();
|
||||
}
|
||||
|
||||
void QmlEngine::disconnected()
|
||||
|
||||
Reference in New Issue
Block a user