Skip to content
GitLab
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
57374fe5
Commit
57374fe5
authored
Nov 09, 2020
by
David Redondo
🏎
Browse files
Stop the daemon if we have no client
BUG:427204
parent
ad51074f
Changes
1
Hide whitespace changes
Inline
Side-by-side
ksystemstats/ksysguarddaemon.cpp
View file @
57374fe5
...
...
@@ -228,6 +228,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
()
...
...
David Redondo
🏎
@davidre
mentioned in commit
beb9dc89
·
Nov 09, 2020
mentioned in commit
beb9dc89
mentioned in commit beb9dc895a8417529902d6fae79c1402c47632b1
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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