KStaticDeleter, KLibLoader and missing KApplication

David Faure faure at kde.org
Tue Jan 9 17:14:20 GMT 2007


On Monday 08 January 2007 17:49, Matthias Kretz wrote:
> Hi,
> 
> nowadays KDE is supposed to work without KApplication, but ~KApplication() did 
> some important cleanups... Here's a suggestion to fix it, but I'm not sure 
> it's the 100% solution as the postRoutine is only installed if a 
> KStaticDeleter is used. In the (rare) case that no KStaticDeleter is used 
> KLibLoader::cleanUp() is not called on ~QCoreApplication(). Dunno whether 
> that's necessary, though.

Sounds like KLibLoader should install its own postRoutine then.
Looks good to me otherwise.

-- 
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