[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Thu Jul 15 22:43:12 CEST 2004


On Thursday 15 July 2004 16:14, Andrew Walker wrote:
> CVS commit by arwalker:
>
> Prevent a reference count deadlock. This fixes bug 84370.
>
>
> --- kdeextragear-2/kst/kst/kstviewwindow.cpp  #1.23:1.24
> @@ -130,4 +130,6 @@ KstViewWindow::~KstViewWindow() {
>      pApp->updateDialogsForWindow();
>    }
> +
> +  _view->clearChildren();
>  }

   This doesn't fix it for me, and I'm not entirely sure why it would.  
clearChildren() is implicit one line later (parent's parent's destructor gets 
called, which destroys members, one of which is the child list, which clears 
the list, releasing all references to children).  What interaction did you 
see that this fixed?

-- 
George Staikos
KDE Developer			http://www.kde.org/
Staikos Computing Services Inc.	http://www.staikos.net/



More information about the Kst mailing list