andrew-bibb / cmst

QT GUI for Connman
173 stars 37 forks source link

Remove unneeded QProcess instances #299

Closed iDarkTemplar closed 10 months ago

iDarkTemplar commented 10 months ago

QProcess::startDetached is static function, and thus no instance of QProcess is needed to call it. While QProcess instances are destroyed on destruction of owner, that is done only on application shutdown, and all time before that they just uselessly take resources.