[Nepomuk] Review Request 113128: Don't delete a QObject from inside a slot.

David Edmundson david at davidedmundson.co.uk
Sun Oct 6 10:49:53 UTC 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/113128/
-----------------------------------------------------------

Review request for Nepomuk.


Repository: nepomuk-core


Description
-------

Don't delete a QObject from inside a slot.

If there are any pending calls to that object to be processed deleting
the object can cause them to crash. (such as in KTp's service)

Using deleteLater() is safer.

BUG: 325376


Diffs
-----

  servicestub/servicecontrol.cpp efc8eb8 

Diff: http://git.reviewboard.kde.org/r/113128/diff/


Testing
-------


Thanks,

David Edmundson

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/nepomuk/attachments/20131006/ef3d2341/attachment.html>


More information about the Nepomuk mailing list