From: Bernard Secher Date: Wed, 28 Nov 2018 08:29:03 +0000 (+0100) Subject: destroy study and module catalog in naming service at shutdown X-Git-Tag: EMC2P_V1_1_0~15^2~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1da1561f6a2f437da8198e15c07341d9e0e85ad0;p=modules%2Fkernel.git destroy study and module catalog in naming service at shutdown --- diff --git a/src/LifeCycleCORBA/SALOME_LifeCycleCORBA.cxx b/src/LifeCycleCORBA/SALOME_LifeCycleCORBA.cxx index c5127683d..1e3ce0cda 100644 --- a/src/LifeCycleCORBA/SALOME_LifeCycleCORBA.cxx +++ b/src/LifeCycleCORBA/SALOME_LifeCycleCORBA.cxx @@ -469,6 +469,7 @@ void SALOME_LifeCycleCORBA::shutdownServers(bool shutdownLauncher) SALOMEDS::Study_var study = SALOMEDS::Study::_narrow(objSDS) ; if ( !CORBA::is_nil(study) && ( pid != study->getPID() ) ) study->Shutdown(); + _NS->Destroy_Name("/Study"); } catch(const CORBA::Exception& e) { @@ -487,6 +488,7 @@ void SALOME_LifeCycleCORBA::shutdownServers(bool shutdownLauncher) SALOME_ModuleCatalog::ModuleCatalog_var catalog = SALOME_ModuleCatalog::ModuleCatalog::_narrow(objMC); if ( !CORBA::is_nil(catalog) && ( pid != catalog->getPID() ) ) catalog->shutdown(); + _NS->Destroy_Name("/Kernel/ModulCatalog"); } catch(const CORBA::Exception& e) {