Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Plasma
KSysGuard
Commits
57374fe5
Commit
57374fe5
authored
Nov 09, 2020
by
David Redondo
🏎
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stop the daemon if we have no client
BUG:427204
parent
ad51074f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
ksystemstats/ksysguarddaemon.cpp
ksystemstats/ksysguarddaemon.cpp
+3
-0
No files found.
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
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