Akonadi: forget about jobtracker if akonadiconsole went away
ClosedPublic

Authored by dfaure on Aug 24 2018, 9:08 AM.

Details

Reviewers
dvratil
vkrause
Summary

When opening and then closing akonadiconsole, all akonadiclients
would keep sending it information about jobs created/started/stopped.
This lead to a high CPU usage from dbus-daemon, forever in that session.

-> notice when akonadiconsole went away and stop sending those signals

Test Plan

kmail ; akonadiconsole ; enable job tracker ; click on mail to job appears ;
close akonadiconsole ; click on another mail ; check that local debug output near that deleteLater
shows up -- or check with dbus-monitor or dfer-analyzer that no signal is emitted
for jobs anymore

Diff Detail

Branch
2018_08_forget_jobtracker
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 2195
Build 2213: arc lint + arc unit
dfaure requested review of this revision.Aug 24 2018, 9:08 AM
dfaure created this revision.
dvratil accepted this revision.Aug 24 2018, 8:19 PM
This revision is now accepted and ready to land.Aug 24 2018, 8:19 PM
dfaure closed this revision.Jan 25 2019, 10:16 PM

This landed in commit f7ccb98bc