(forward to list for archives)

---------- Forwarded message ----------
From: Simeon Bird <[email protected]>
Date: 4 December 2012 21:06
Subject: Re: [Nepomuk] Bug 292996
To: Vishesh Handa <[email protected]>


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
_______________________________________________
Nepomuk mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/nepomuk

Reply via email to