]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
fix SISEGV when exiting SALOME after activated SHAPER module
authorViktor Uzlov <viktor.uzlov@opencascade.com>
Wed, 21 Apr 2021 10:27:10 +0000 (13:27 +0300)
committerAnthony Geay <anthony.geay@edf.fr>
Thu, 22 Apr 2021 15:25:18 +0000 (17:25 +0200)
src/Qtx/QtxDockWidget.cxx

index 2ef323d930b03b196762bc5b1792b7847c5cc069..3f58f92611a761765071e2e1ab1a0c128f81f29a 100644 (file)
@@ -368,6 +368,9 @@ myWatcher( 0 )
 */
 QtxDockWidget::~QtxDockWidget()
 {
+  myWatcher->setParent(nullptr);
+  delete myWatcher;
+  myWatcher = 0;
 }
 
 /*!