]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
[EDF26673] : do not release the POA object returned by _the_root_poa.
authorAnthony Geay <anthony.geay@edf.fr>
Wed, 4 Jan 2023 08:45:57 +0000 (09:45 +0100)
committerAnthony Geay <anthony.geay@edf.fr>
Wed, 4 Jan 2023 08:45:57 +0000 (09:45 +0100)
src/Launcher/SALOME_Launcher.cxx

index 5970668cc194603f5417793335e93c1f1f91b415..d444cc3c22c91dc2db0f15121f226c82eeb2efd6 100644 (file)
@@ -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);