forked from qt-creator/qt-creator
Get rid of no-op calls to QtcProcess::kill()
Leave the work for implicit ProcessReaper. Change-Id: Ie01c4e996fda18b7cee77851394174556c6f3857 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -127,7 +127,6 @@ static FormatTask format(FormatTask task)
|
||||
return task;
|
||||
}
|
||||
if (!process.waitForFinished(5000)) {
|
||||
process.kill();
|
||||
task.error = QString(QT_TRANSLATE_NOOP("TextEditor",
|
||||
"Cannot call %1 or some other error occurred. Timeout "
|
||||
"reached while formatting file %2."))
|
||||
|
||||
Reference in New Issue
Block a user