From 59ec379e003d9ac66cf388c41098ea511ab0da56 Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Wed, 4 Jan 2023 09:45:57 +0100 Subject: [PATCH] [EDF26673] : do not release the POA object returned by _the_root_poa. --- src/Launcher/SALOME_Launcher.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Launcher/SALOME_Launcher.cxx b/src/Launcher/SALOME_Launcher.cxx index 5970668cc..d444cc3c2 100644 --- a/src/Launcher/SALOME_Launcher.cxx +++ b/src/Launcher/SALOME_Launcher.cxx @@ -717,7 +717,8 @@ SALOME_Launcher *KERNEL::getLauncherSA() if(!_launcher_singleton_ssl) { CORBA::ORB_var orb = KERNEL::GetRefToORB(); - PortableServer::POA_var root_poa=PortableServer::POA::_the_root_poa(); + //[EDF26673] : do not release the POA object returned by _the_root_poa. + PortableServer::POA_ptr root_poa = PortableServer::POA::_the_root_poa(); PortableServer::POAManager_var pman = root_poa->the_POAManager(); CORBA::PolicyList policies; policies.length(1); -- 2.39.2