Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KSysGuard
Commits
beb9dc89
Commit
beb9dc89
authored
Nov 09, 2020
by
David Redondo
🏎
Browse files
Stop the daemon if we have no client
BUG:427204 (cherry picked from commit
57374fe5
)
parent
d2b47824
Changes
1
Hide whitespace changes
Inline
Side-by-side
ksystemstats/ksysguarddaemon.cpp
View file @
beb9dc89
...
...
@@ -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
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment