]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
ILMAB project.
authoreap <eap@opencascade.com>
Thu, 3 Oct 2013 14:13:53 +0000 (14:13 +0000)
committereap <eap@opencascade.com>
Thu, 3 Oct 2013 14:13:53 +0000 (14:13 +0000)
Prevent a twice removal: RemoveObject() is called in a case calss

 GEOM_Field_i::~GEOM_Field_i()
 {
-  GEOM_Engine::GetEngine()->RemoveObject(_impl);

src/GEOM_I/GEOM_Field_i.cc

index 78963016e3c2519ff1ba12ff3246b017ffd1fd9b..79cdcde1147fb1c4a7518de4cb609c377cd111c2 100644 (file)
@@ -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);
 }
 
 //================================================================================