Prevent stopping search job after it finished
ClosedPublic

Authored by dkurz on Aug 3 2017, 7:08 PM.

Details

Reviewers
dvratil
Group Reviewers
KDE PIM: KMail
Summary

The mSearchJob pointer is only used to be able to cancel it,
in case cancellation is requested. When searchDone is called,
it no longer makes sense to cancel a search, so we should
reset it to nullptr as soon as possible.

Diff Detail

Repository
R206 KMail
Lint
Lint Skipped
Unit
Unit Tests Skipped
dkurz created this revision.Aug 3 2017, 7:08 PM
Restricted Application added a subscriber: KDE PIM. ยท View Herald TranscriptAug 3 2017, 7:08 PM
dvratil accepted this revision.Aug 4 2017, 8:38 AM
This revision is now accepted and ready to land.Aug 4 2017, 8:38 AM
dkurz closed this revision.Aug 11 2017, 8:06 AM