Fix kontact crash on logout.
ClosedPublic

Authored by dfaure on Jun 6 2019, 4:13 PM.

Details

Summary

KMail was creating new Akonadi jobs during mainwindow destruction,
due to not testing the bool in GuiActivateEvent.

Same bt in bug 404881, apparently quitting from the akregator tray icon
[which quits all of kontact... separate issue...] gave the same crash.

BUG: 404881
FIXED-IN: 19.04.2

Test Plan

Run kontact, logout. Hello Drkonqi.

Diff Detail

Repository
R206 KMail
Branch
Applications/19.04
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 12482
Build 12500: arc lint + arc unit
dfaure created this revision.Jun 6 2019, 4:13 PM
Restricted Application added a project: KDE PIM. · View Herald TranscriptJun 6 2019, 4:13 PM
Restricted Application edited subscribers, added: kde-pim; removed: KDE PIM. · View Herald Transcript
dfaure requested review of this revision.Jun 6 2019, 4:13 PM
winterz accepted this revision.Jun 6 2019, 4:51 PM
This revision is now accepted and ready to land.Jun 6 2019, 4:51 PM
mlaurent accepted this revision.Jun 6 2019, 5:46 PM
dfaure closed this revision.Jun 6 2019, 5:50 PM