forked from qt-creator/qt-creator
Debugger: Report done when terminal *process* is stopped
Do not wait until the stub exits. Task-number: QTCREATORBUG-19056 Change-Id: I7c4c3438c960a6e418ccd6c9d96d01d9621e9b02 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
3116d901ee
commit
e098134d43
@@ -182,8 +182,8 @@ TerminalRunner::TerminalRunner(DebuggerRunTool *debugger)
|
||||
this, &TerminalRunner::stubError);
|
||||
connect(&m_stubProc, &ConsoleProcess::processStarted,
|
||||
this, &TerminalRunner::stubStarted);
|
||||
connect(&m_stubProc, &ConsoleProcess::stubStopped,
|
||||
this, &TerminalRunner::stubExited);
|
||||
connect(&m_stubProc, &ConsoleProcess::processStopped,
|
||||
this, [this] { reportDone(); });
|
||||
}
|
||||
|
||||
void TerminalRunner::start()
|
||||
@@ -224,11 +224,6 @@ void TerminalRunner::stubError(const QString &msg)
|
||||
reportFailure(msg);
|
||||
}
|
||||
|
||||
void TerminalRunner::stubExited()
|
||||
{
|
||||
reportStopped();
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Debugger
|
||||
|
||||
|
||||
@@ -82,7 +82,6 @@ private:
|
||||
void stop() final;
|
||||
|
||||
void stubStarted();
|
||||
void stubExited();
|
||||
void stubError(const QString &msg);
|
||||
|
||||
Utils::ConsoleProcess m_stubProc;
|
||||
|
||||
Reference in New Issue
Block a user