CVS commit by arwalker: Prevent a reference count deadlock. This fixes bug 84370. M +2 -0 kstviewwindow.cpp 1.24 --- kdeextragear-2/kst/kst/kstviewwindow.cpp #1.23:1.24 @@ -130,4 +130,6 @@ KstViewWindow::~KstViewWindow() { pApp->updateDialogsForWindow(); } + + _view->clearChildren(); }