[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: Crashes on exit.
From: Stephan Kulow <coolo () kde ! org>
Date: 2000-11-01 11:11:00
[Download RAW message or body]
Waldo Bastian wrote:
>
> On Tuesday 31 October 2000 23:30, Waldo Bastian wrote:
> > Has something changed with the way KStaticDeleters destruct?
> >
> > I see crashes everywhere due to KStaticDeleters destructing. E.g. KCursor
> > and KHTMLPageCache. I removed the KCursor_private destructor... but the
> > KHTMLPageCache needs to be destructed because it is in a KPart.
>
> Following up on myself:
>
> It seems that we used to destruct libs in
>
> KLibLoader::cleanUp();
>
> as first line of ~KApplication. This caused the KStaticDeleters in those libs
> to be called. I guess we don't do that any longer, and now the
> KStaticDeleters are being called from qt_cleanup() --> kglobal_freeAll.
>
> Appearantly this is a bit too late for a lot of Qt objects that we delete.
>
Yes, we need to call KGlobal::deleteStaticPointers within ~kapp
Greetings, Stephan
--
Frauen und Maenner passen vielleicht nicht zusammen, aber meine
allerschoensten Schrammen habe ich mir bei diesem Duell geholt.
-- Reinhard Mey
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic