From: Viktor Uzlov Date: Wed, 21 Apr 2021 10:27:10 +0000 (+0300) Subject: fix SISEGV when exiting SALOME after activated SHAPER module X-Git-Tag: V9_7_0rc1~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5660053365edbb4d0992eca4903812995b5e5022;p=modules%2Fgui.git fix SISEGV when exiting SALOME after activated SHAPER module --- diff --git a/src/Qtx/QtxDockWidget.cxx b/src/Qtx/QtxDockWidget.cxx index 2ef323d93..3f58f9261 100644 --- a/src/Qtx/QtxDockWidget.cxx +++ b/src/Qtx/QtxDockWidget.cxx @@ -368,6 +368,9 @@ myWatcher( 0 ) */ QtxDockWidget::~QtxDockWidget() { + myWatcher->setParent(nullptr); + delete myWatcher; + myWatcher = 0; } /*!