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=c896fb597a3d9329c9be808ca57f13a65f90e596;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; } /*!