mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-13 17:18:35 +05:00
Fix of IPAL19448 (Qt4 porting: application hungs up at several Import MED file cycles).
This commit is contained in:
parent
61225638d0
commit
119fd18e76
@ -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);
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
|
@ -121,6 +121,7 @@ SMESH_Mesh_i::~SMESH_Mesh_i()
|
||||
// this method is colled from destructor of group (PAL6331)
|
||||
//_impl->RemoveGroup( aGroup->GetLocalID() );
|
||||
|
||||
removeGroup( aGroup->GetLocalID() );
|
||||
aGroup->Destroy();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user