]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
No more complaints with deb9 native python3.5
authorAnthony Geay <anthony.geay@edf.fr>
Fri, 1 Oct 2021 09:40:17 +0000 (11:40 +0200)
committerAnthony Geay <anthony.geay@edf.fr>
Fri, 1 Oct 2021 09:40:17 +0000 (11:40 +0200)
src/SALOMESDS/SALOMESDS_DataScopeServer.cxx
src/SALOMESDS/SALOME_DataScopeServer_Common.cxx

index fa7d04a9e3b6fba42781c7fb1d593ec2414affa7..843dc385f3c7eb0d50bf6198570117016ce7f227 100644 (file)
@@ -48,7 +48,6 @@ std::size_t DataScopeServerBase::COUNTER=0;
 
 void DataScopeKiller::shutdown()
 {
-  Py_Finalize();
   _orb->shutdown(0);
 }
 
index cf77e09b20f71ed609854cd62db03999352b3d81..0e727b4996a22534a1ee31e7908b989b8acc6dc6 100644 (file)
@@ -81,5 +81,6 @@ int CommonDataScopeServerMain(int argc, char *argv[], CORBA::ORB_var orb, const
   //
   orb->run();
   delete killer;
+  Py_Finalize();
   return 0;
 }