Commit beb9dc89 authored by David Redondo's avatar David Redondo 🏎
Browse files

Stop the daemon if we have no client

BUG:427204


(cherry picked from commit 57374fe5)
parent d2b47824
......@@ -224,6 +224,9 @@ SensorProperty *KSysGuardDaemon::findSensor(const QString &path) const
void KSysGuardDaemon::onServiceDisconnected(const QString &service)
{
delete m_clients.take(service);
if (m_clients.isEmpty()) {
QCoreApplication::quit();
};
}
void KSysGuardDaemon::sendFrame()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment