From 22406636391960b800f8af0c7e8c4c6a806c84df Mon Sep 17 00:00:00 2001 From: Viktor Uzlov Date: Wed, 21 Apr 2021 13:27:10 +0300 Subject: [PATCH] fix SISEGV when exiting SALOME after activated SHAPER module --- src/Qtx/QtxDockWidget.cxx | 3 +++ 1 file changed, 3 insertions(+) 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; } /*! -- 2.39.2