Problem with refcounting KHTMLPart

David Faure faure at kde.org
Tue Dec 4 09:36:32 GMT 2007


On Monday 03 December 2007, Christian Ehrlicher wrote:
> Christian Ehrlicher schrieb:
> > Hi,
> > 
> > I get an assert on exiting konqueror in khtml_factory.cpp:63 (assert(
> > !s_refcnt )).
> > 
> > It looks like refcounting is broken, but it looks more like the problem
> > is QObjectCleanupHandler() which deletes the objects directly instead
> > calling KHTMLFactory::deref()  --> when ( s_self == this ) the refcount
> > is still 1.
> > 
> > How can this be fixed?
> > 
> After hitting 'send' and a 'svn up' I saw that dfaure fixed exactly this
> problem some hours ago...

Nope. I cleaned up the design, but the DocumentImpl refcounting problem is still there.

-- 
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 kfm-devel mailing list