From d69795904814e06381a878294986ece4146816a8 Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Wed, 29 Oct 2014 11:05:45 +0100 Subject: [PATCH] Small correction. --- src/SALOMESDS/SALOMESDS_DataScopeServer.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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(); + } } /*! -- 2.39.2