]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Bug fix. mySignal removed at the end of destructor.
authorstv <stv@opencascade.com>
Wed, 29 Jun 2005 04:40:12 +0000 (04:40 +0000)
committerstv <stv@opencascade.com>
Wed, 29 Jun 2005 04:40:12 +0000 (04:40 +0000)
src/SUIT/SUIT_DataObject.cxx

index 839fffdeef6493e6b2746001863074f9b77e5285..877d2480e906b1fdf6a7a0c4006a5e6490f6bf18 100755 (executable)
@@ -33,8 +33,6 @@ SUIT_DataObject::~SUIT_DataObject()
     mySignal->setOwner( 0 );
   }
 
-  delete mySignal;
-
   SUIT_DataObject* p = myParent;
 
   myParent = 0;
@@ -44,6 +42,8 @@ SUIT_DataObject::~SUIT_DataObject()
 
   for ( QPtrListIterator<SUIT_DataObject> it( myChildren ); it.current(); ++it )
     it.current()->myParent = 0;
+
+  delete mySignal;
 }
 
 /*!