[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Can Q_GLOBAL_STATIC replace KStaticDelete ?
From:       David Faure <faure () kde ! org>
Date:       2007-01-09 14:37:07
Message-ID: 200701091537.07732.faure () kde ! org
[Download RAW message or body]

On Tuesday 09 January 2007 09:08, Thiago Macieira wrote:
> >The reason is that KLibrary wants to start a QTimer when the factory
> > object is destroyed. (I committed a fix that checks for the presence of
> >QCoreApplication::instance(), so that this warning is gone by now.)
> 
> This sounds like a KLibrary bug instead. The timer would never be run, so 
> a new solution must be found.

No, no bug there. The timer is for dlclosing the library. Which is only useful if the
process is going to survive much longer. If we're past ~QCoreApplication, then the
process is going to terminate very soon and it's fine if the dlclose timer never fires.

-- 
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic