From: Anthony Geay Date: Wed, 29 Oct 2014 10:05:45 +0000 (+0100) Subject: Small correction. X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d69795904814e06381a878294986ece4146816a8;p=modules%2Fkernel.git Small correction. --- diff --git a/src/SALOMESDS/SALOMESDS_DataScopeServer.cxx b/src/SALOMESDS/SALOMESDS_DataScopeServer.cxx index 79292d867..42fcfc50e 100644 --- a/src/SALOMESDS/SALOMESDS_DataScopeServer.cxx +++ b/src/SALOMESDS/SALOMESDS_DataScopeServer.cxx @@ -146,7 +146,11 @@ void DataScopeServer::shutdownIfNotHostedByDSM() if(!ret) _orb->shutdown(0); else - ret->_remove_ref(); + { + PortableServer::ObjectId_var oid(_poa->servant_to_id(this)); + _poa->deactivate_object(oid); + ret->_remove_ref(); + } } /*!