[Nepomuk] Fwd: Bug 292996

Simeon Bird bladud at gmail.com
Wed Dec 5 02:06:52 UTC 2012


(forward to list for archives)

---------- Forwarded message ----------
From: Simeon Bird <bladud at gmail.com>
Date: 4 December 2012 21:06
Subject: Re: [Nepomuk] Bug 292996
To: Vishesh Handa <me at vhanda.in>


I have another solution -
>
> When destroying the ResourceManager, we could iterate over all the
> ResourceData*, and set m_rm = 0. Then in Resource::~Resource we could check
> if m_rm != 0. Or we could simply set the Resource::m_data = 0. That way
> these Resource classes will just contain a null pointer. Let me prepare a
> patch.
>

Like Query::SearchRunnable does for Folder? That's a much better idea than
mine :) Very clean.

btw, I can't access https://git.reviewboard.kde.org/r/107575/, did you
forget to make it public?

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


More information about the Nepomuk mailing list