X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FContainer%2FComponent_i.cxx;h=885750da9ed96f7101f1e2158805677b304a1541;hb=7be586a98587a537bac17c8a8ce79df443c1863b;hp=867411196bac4f20c75227798e473c4533e4217b;hpb=96a09edad1002fc779d65892dbe6ad6b4cfb7dc8;p=modules%2Fkernel.git diff --git a/src/Container/Component_i.cxx b/src/Container/Component_i.cxx index 867411196..885750da9 100644 --- a/src/Container/Component_i.cxx +++ b/src/Container/Component_i.cxx @@ -295,8 +295,8 @@ void Engines_Component_i::destroy() delete _myConnexionToRegistry; _myConnexionToRegistry = 0 ; - _poa->deactivate_object(*_id) ; - delete(_id) ; + if(_id) + delete(_id) ; //SCRUTE(pd_refCount); _thisObj->_remove_ref(); //SCRUTE(pd_refCount);