From: Anthony Geay Date: Wed, 4 Jan 2023 08:45:57 +0000 (+0100) Subject: [EDF26673] : do not release the POA object returned by _the_root_poa. X-Git-Tag: V9_11_0a1~13 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=59ec379e003d9ac66cf388c41098ea511ab0da56;p=modules%2Fkernel.git [EDF26673] : do not release the POA object returned by _the_root_poa. --- 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);