From: eap Date: Thu, 3 Oct 2013 14:13:53 +0000 (+0000) Subject: ILMAB project. X-Git-Tag: BR_hydro_v_0_3_1~114 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0e43e4a51c77067f3d4af097187ddfe39c485086;p=modules%2Fgeom.git ILMAB project. Prevent a twice removal: RemoveObject() is called in a case calss GEOM_Field_i::~GEOM_Field_i() { - GEOM_Engine::GetEngine()->RemoveObject(_impl); --- diff --git a/src/GEOM_I/GEOM_Field_i.cc b/src/GEOM_I/GEOM_Field_i.cc index 78963016e..79cdcde11 100644 --- a/src/GEOM_I/GEOM_Field_i.cc +++ b/src/GEOM_I/GEOM_Field_i.cc @@ -55,7 +55,6 @@ GEOM_Field_i::GEOM_Field_i (PortableServer::POA_ptr thePOA, GEOM_Field_i::~GEOM_Field_i() { MESSAGE("GEOM_Field_i::~GEOM_Field_i"); - GEOM_Engine::GetEngine()->RemoveObject(_impl); } //================================================================================