D14263: Don't attempt to clean up when the process is about to exit

Daniel Vrátil noreply at phabricator.kde.org
Sat Jul 21 13:52:54 BST 2018


dvratil requested changes to this revision.
dvratil added a comment.
This revision now requires changes to proceed.


  In this case, the session thread is destroyed from a slot connected to `QApplication::aboutToQuit()` signal (see `SessionPrivate` ctor), so I think just checking if `session->d->sessionThread()` returns a valid pointer in `ChangeNotificationDependenciesFactory` should do the job, without having the execution to actually enter a method with invalid `this` pointer.

REPOSITORY
  R165 Akonadi

REVISION DETAIL
  https://phabricator.kde.org/D14263

To: vkrause, dvratil
Cc: dvratil, kde-pim, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20180721/6aad64a9/attachment.html>


More information about the kde-pim mailing list