forked from qt-creator/qt-creator
AbstractProcessStep: Free output parser chain in error case
Change-Id: Ie0dc094068bfa56f728d84ee13e70efbc980f8b3 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -205,6 +205,7 @@ void AbstractProcessStep::run(QFutureInterface<bool> &fi)
|
||||
if (!m_process->waitForStarted()) {
|
||||
processStartupFailed();
|
||||
m_process.reset();
|
||||
m_outputParserChain.reset();
|
||||
reportRunResult(fi, false);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user