]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Small correction.
authorAnthony Geay <anthony.geay@edf.fr>
Wed, 29 Oct 2014 10:05:45 +0000 (11:05 +0100)
committerAnthony Geay <anthony.geay@edf.fr>
Wed, 29 Oct 2014 10:05:45 +0000 (11:05 +0100)
src/SALOMESDS/SALOMESDS_DataScopeServer.cxx

index 79292d86761fe36702f33d43a76d4409ad7b3026..42fcfc50e11fa9a69f3621007b193d79bc0aeeb3 100644 (file)
@@ -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();
+    }
 }
 
 /*!