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

List:       kopete-devel
Subject:    Re: [Kopete-devel] [Bug 52405] crash on exit (posible oscar + autoaway)
From:       "Olivier Goffart" <ogoffart () tiscalinet ! be>
Date:       2002-12-30 8:47:57
[Download RAW message or body]

I know maybe why:

in pluginloader.cpp i see (line 279 in LibraryLoader::slotPluginDstroyed)

 for( ; it.current() && it.current() == o; ++it )
{
    mLibHash.remove( it.currentKey() );
    break;
}

but that's wrong, if the first != o  , the loop is breaked immediatly, and
the plugin is noàt removed
after, in ~LybraryLoader, all plugins present in mLibHash will be removed

just change to:
 for( ; it.current() ; ++it )
    if  (it.current() == o)
{
    mLibHash.remove( it.currentKey() );
    break;
}




_______________________________________________
Kopete-devel mailing list
Kopete-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/kopete-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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