~KDirLister accessing already destroyed object
David Faure
faure at kde.org
Mon Oct 1 10:07:00 BST 2007
On Monday 01 October 2007, Dennis Nienhüser wrote:
> I'm trying to fix a crash that occurs when closing Kopete and think it's
> caused by the KDirLister destructor. ~KDirLister calls stop() on its
> cache, which is a singleton created by the K_GLOBAL_STATIC macro and
> seems to get destroyed before ~KDirLister is called on my system.
Why is that? Your KDirLister is a global static too? That seems like a very strange idea....
--
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
More information about the kde-core-devel
mailing list