Salome HOME
PR: commit mistake
authorprascle <prascle>
Wed, 9 Mar 2011 10:01:16 +0000 (10:01 +0000)
committerprascle <prascle>
Wed, 9 Mar 2011 10:01:16 +0000 (10:01 +0000)
src/OBJECT/SMESH_Object.cxx

index 6e44e059defb5ea3af447f879556f1a9d0e3381a..ded63b7937367466310009048aa1a6f968a23a51 100644 (file)
@@ -843,7 +843,7 @@ SMESH_GroupObj::SMESH_GroupObj( SMESH::SMESH_GroupBase_ptr theGroup,
 SMESH_GroupObj::~SMESH_GroupObj()
 {
   if ( MYDEBUG ) MESSAGE("~SMESH_GroupObj");
-  myGroupServer->Destroy();
+  myGroupServer->UnRegister();
 }
 
 //=================================================================================
@@ -973,7 +973,7 @@ SMESH_subMeshObj::SMESH_subMeshObj( SMESH::SMESH_subMesh_ptr theSubMesh,
 SMESH_subMeshObj::~SMESH_subMeshObj()
 {
   if ( MYDEBUG ) MESSAGE( "~SMESH_subMeshObj" );
-  mySubMeshServer->Destroy();
+  mySubMeshServer->UnRegister();
 }
 
 //=================================================================================