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

Martin Klapetek martin.klapetek at gmail.com
Mon Oct 7 12:06:01 UTC 2013



> On Oct. 7, 2013, 12:01 p.m., Vishesh Handa wrote:
> > If you're having problems with the telepathy service crashing, then I can port it to Nepomuk::Service2 whose architecture is a lot better. Plus you get your own process name.
> > 
> > Should I do it?

Would be awesome, but given the fact that 0.7 is just around the corner, this should be part of 0.8, so no pressure...


- Martin


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


On Oct. 6, 2013, 10:49 a.m., David Edmundson wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/113128/
> -----------------------------------------------------------
> 
> (Updated Oct. 6, 2013, 10:49 a.m.)
> 
> 
> 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/20131007/97a17477/attachment.html>


More information about the Nepomuk mailing list