From kde-commits Wed Jul 22 15:12:14 2009 From: Andreas Pakulat Date: Wed, 22 Jul 2009 15:12:14 +0000 To: kde-commits Subject: Re: KDE/kdevplatform/plugins Message-Id: <20090722151214.GG7986 () neo ! apaku ! dnsalias ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=124827576402204 On 22.07.09 17:24:44, Alexander Dymo wrote: > On Wednesday 22 July 2009 17:15:57 Andreas Pakulat wrote: > > SVN commit 1001036 by apaku: > > Properly unload toolviews when the plugin is unloaded > > CCBUG:178445 > > +void CvsPlugin::unload() > > +{ > > + core()->uiController()->removeToolView( d->m_factory ); > > +} > > I'd say we also need to watch for destroyed() from these factories in > UiController and remove deleted factories. This would defend us from "bad" > plugins. Hmm, probably, yes. Andreas -- You will be successful in love.