(forward to list for archives)<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Simeon Bird</b> <span dir="ltr"><<a href="mailto:bladud@gmail.com">bladud@gmail.com</a>></span><br>
Date: 4 December 2012 21:06<br>Subject: Re: [Nepomuk] Bug 292996<br>To: Vishesh Handa <<a href="mailto:me@vhanda.in">me@vhanda.in</a>><br><br><br><div class="gmail_extra"><div class="gmail_quote"><div class="im"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div class="gmail_extra"><div class="gmail_quote"><div>
I have another solution -<br><br>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.<br>

</div></div></div></blockquote></div><div><br>Like Query::SearchRunnable does for Folder? That's a much better idea than mine :) Very clean.<br><br>btw, I can't access <a href="https://git.reviewboard.kde.org/r/107575/" target="_blank">https://git.reviewboard.kde.org/r/107575/</a>, did you forget to make it public?<span class="HOEnZb"><font color="#888888"><br>

<br>Simeon<br></font></span></div></div></div>
</div><br>