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

List:       kde-commits
Subject:    AW: KDE/kdelibs/kdecore/util
From:       "Nhuh Put" <nhuh.put () web ! de>
Date:       2007-09-04 15:07:25
Message-ID: 003301c7ef05$4dee3440$3301a8c0 () spika
[Download RAW message or body]

> Von: mueller@kde.org [mailto:mueller@kde.org]
> Gesendet: Dienstag, 4. September 2007 16:32
> An: kde-commits@kde.org
> Cc: Bernhard Loos; kretz@kde.org
> Betreff: Re: KDE/kdelibs/kdecore/util
> 
> On Tuesday, 4. September 2007, Bernhard Loos wrote:
> 
> > make KLibLoader::unloadLibrary a complete noop, it tried to delete all
> > objects created from the factory. this should solve the crashes with
> kate
> > and kopte
> 
> shouldn`t the leaking objects be fixed instead?
> 
> 
> Dirk

Well, the objects are still deleted at application shutdown.
The previous solution was to delete all objects created from a library in a
call to unloadLibrary but to not actually unload the library, which is not
the best idea imho.
Some of the leaks are also very hard to fix, so I think it's a better
solution to disable the unload stuff.
KPluginLoader and KPluginFactory use KLibLoader only for some compatibility
code, otherwise they are independent from it. They also don't have the
unload problems.

	PutHuhn

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

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