]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
destroy study and module catalog in naming service at shutdown
authorBernard Secher <bernard.secher@cea.fr>
Wed, 28 Nov 2018 08:29:03 +0000 (09:29 +0100)
committerBernard Secher <bernard.secher@cea.fr>
Thu, 28 Mar 2019 13:17:10 +0000 (14:17 +0100)
src/LifeCycleCORBA/SALOME_LifeCycleCORBA.cxx

index c5127683df50e610a57c8a4005856b425007889a..1e3ce0cdacd718cee85886f4c1f84a3327db84e5 100644 (file)
@@ -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)
     {