From: san Date: Wed, 2 Feb 2005 11:09:27 +0000 (+0000) Subject: PAL7962 X-Git-Tag: V2_2_0b4~27 X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=commitdiff_plain;h=7dbc79c51dcd1dce59ae05bc8766b2576a3c40ed PAL7962 --- diff --git a/src/SMESH_I/SMESH_Group_i.cxx b/src/SMESH_I/SMESH_Group_i.cxx index 11dbe143b..78ca52898 100644 --- a/src/SMESH_I/SMESH_Group_i.cxx +++ b/src/SMESH_I/SMESH_Group_i.cxx @@ -46,17 +46,23 @@ SMESH_GroupBase_i::SMESH_GroupBase_i( PortableServer::POA_ptr thePOA, SMESH_Mesh myMeshServant( theMeshServant ), myLocalID( theLocalID ) { - thePOA->activate_object( this ); + // PAL7962: san -- To ensure correct mapping of servant and correct reference counting in GenericObj_i, + // servant activation is performed by SMESH_Mesh_i::createGroup() + // thePOA->activate_object( this ); } SMESH_Group_i::SMESH_Group_i( PortableServer::POA_ptr thePOA, SMESH_Mesh_i* theMeshServant, const int theLocalID ) -: SMESH_GroupBase_i( thePOA, theMeshServant, theLocalID ) + : SALOME::GenericObj_i( thePOA ), + SMESH_GroupBase_i( thePOA, theMeshServant, theLocalID ) { + MESSAGE("SMESH_Group_i; this = "<