SVN commit 1029860 by gladhorn: delete the component before the document crash-- M +3 -0 parleymainwindow.cpp --- branches/work/parley-practice/parley/src/parleymainwindow.cpp #1029859:1029860 @@ -104,6 +104,9 @@ ParleyMainWindow::~ParleyMainWindow() { + guiFactory()->removeClient(m_currentComponentWindow); + centralWidget()->layout()->removeWidget(m_currentComponentWindow); + delete m_currentComponentWindow; ParleyDocument::destroy(); }