Salome HOME
Fix of IPAL19448 (Qt4 porting: application hungs up at several Import MED file cycles).
[modules/smesh.git] / src / SMESH_I / SMESH_Group_i.cxx
index 9f4c705f3aadbe423ed1258ec8420e4b540d51ad..66113ca185f8f21543b12474e0c4e89f5c151717 100644 (file)
@@ -80,8 +80,9 @@ SMESH_GroupOnGeom_i::SMESH_GroupOnGeom_i( PortableServer::POA_ptr thePOA, SMESH_
 SMESH_GroupBase_i::~SMESH_GroupBase_i()
 {
   MESSAGE("~SMESH_GroupBase_i; this = "<<this );
-  if ( myMeshServant )
-    myMeshServant->removeGroup(myLocalID);
+  // akl: removeGroup() is called from SMESH_Mesh_i() destructor
+  // if ( myMeshServant )
+  //   myMeshServant->removeGroup(myLocalID);
 }
 
 //=======================================================================