mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-29 05:40:33 +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()
|
SMESH_GroupBase_i::~SMESH_GroupBase_i()
|
||||||
{
|
{
|
||||||
MESSAGE("~SMESH_GroupBase_i; this = "<<this );
|
MESSAGE("~SMESH_GroupBase_i; this = "<<this );
|
||||||
if ( myMeshServant )
|
// akl: removeGroup() is called from SMESH_Mesh_i() destructor
|
||||||
myMeshServant->removeGroup(myLocalID);
|
// if ( myMeshServant )
|
||||||
|
// myMeshServant->removeGroup(myLocalID);
|
||||||
}
|
}
|
||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
@ -121,6 +121,7 @@ SMESH_Mesh_i::~SMESH_Mesh_i()
|
|||||||
// this method is colled from destructor of group (PAL6331)
|
// this method is colled from destructor of group (PAL6331)
|
||||||
//_impl->RemoveGroup( aGroup->GetLocalID() );
|
//_impl->RemoveGroup( aGroup->GetLocalID() );
|
||||||
|
|
||||||
|
removeGroup( aGroup->GetLocalID() );
|
||||||
aGroup->Destroy();
|
aGroup->Destroy();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user