Salome HOME
Crash in the destructor with omniORB4
[modules/superv.git] / src / Supervision / SNode_Impl.cxx
index 3ea6e5025be5f47a94e50a071ea4ddd702a26881..552ecb1d14ca5b4286b205be7b65d0fee6f11347 100644 (file)
@@ -79,9 +79,9 @@ void SNode_Impl::destroy() {
     SUPERV::GNode_ptr aCoupled = SUPERV::GNode::_narrow( Coupled() ) ;
     if ( Delete() ) {
       _poa->deactivate_object(*_id) ;
-      CORBA::release(_poa) ;
+//      CORBA::release(_poa) ;
       delete(_id) ;
-      _thisObj->_remove_ref();
+//      _thisObj->_remove_ref();
     }
     else {
       MESSAGE("SNode_Impl::destroy ERROR ") ;