Clean up Handler factory API
ClosedPublic

Authored by dvratil on May 2 2019, 8:07 PM.

Details

Summary

Construct new handlers as unique_ptrs to avoid memory leaks if
an exception is thrown.

Diff Detail

Repository
R165 Akonadi
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
dvratil created this revision.May 2 2019, 8:07 PM
Restricted Application added a project: KDE PIM. · View Herald TranscriptMay 2 2019, 8:07 PM
Restricted Application added a subscriber: kde-pim. · View Herald Transcript
dvratil requested review of this revision.May 2 2019, 8:07 PM
vkrause accepted this revision.May 3 2019, 7:26 AM
This revision is now accepted and ready to land.May 3 2019, 7:26 AM
This revision was automatically updated to reflect the committed changes.