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-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fvuzlov%2F23995_qt_fault;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; } /*!