forked from qt-creator/qt-creator
Android: Don't use blocking queued connections for running ps
If ps is run from a different thread than the GUI thread, then we are obviously not dealing with the "checkPID" function that's running every second. We don't need to be overly prudent about starting another process then. On the other hand, the blocking queued connection relies on the ps shell not getting closed from a different thread in between and it is generally a risk for creating dead locks. Change-Id: Ief49fb18cc3199dc345c4d9ca0ee24b66d33343c Reviewed-by: BogDan Vatra <bogdan@kdab.com>
This commit is contained in:
@@ -79,7 +79,6 @@ private:
|
||||
void logcatReadStandardError();
|
||||
void logcatReadStandardOutput();
|
||||
void asyncStart();
|
||||
Q_INVOKABLE QByteArray runPs();
|
||||
|
||||
void adbKill(qint64 pid);
|
||||
QStringList selector() const { return m_selector; }
|
||||
|
||||
Reference in New Issue
Block a user