Debugger: notify engine if remote process finishes on android

This prevents inconsistent state and error messages if the USB cable
is removed while the application is waiting on a breakpoint.

Change-Id: I769dc5fda2775e69365d8d8a5151e67c53e3237f
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
Ulf Hermann
2014-10-24 10:07:31 +02:00
committed by hjk
parent 65dbd73ae2
commit 4889239479
2 changed files with 3 additions and 0 deletions

View File

@@ -166,6 +166,7 @@ AndroidDebugSupport::AndroidDebugSupport(AndroidRunConfiguration *runConfig,
[this](const QString &errorMsg) {
QTC_ASSERT(m_runControl, return);
m_runControl->appendMessage(errorMsg, Utils::DebugFormat);
m_engine->notifyInferiorExited();
});
connect(m_runner, &AndroidRunner::remoteErrorOutput,