From f915bd4ce669552a3a15eba77adb738ed8b8fd27 Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Fri, 1 Oct 2021 11:40:17 +0200 Subject: [PATCH] No more complaints with deb9 native python3.5 --- src/SALOMESDS/SALOMESDS_DataScopeServer.cxx | 1 - src/SALOMESDS/SALOME_DataScopeServer_Common.cxx | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SALOMESDS/SALOMESDS_DataScopeServer.cxx b/src/SALOMESDS/SALOMESDS_DataScopeServer.cxx index fa7d04a9e..843dc385f 100644 --- a/src/SALOMESDS/SALOMESDS_DataScopeServer.cxx +++ b/src/SALOMESDS/SALOMESDS_DataScopeServer.cxx @@ -48,7 +48,6 @@ std::size_t DataScopeServerBase::COUNTER=0; void DataScopeKiller::shutdown() { - Py_Finalize(); _orb->shutdown(0); } diff --git a/src/SALOMESDS/SALOME_DataScopeServer_Common.cxx b/src/SALOMESDS/SALOME_DataScopeServer_Common.cxx index cf77e09b2..0e727b499 100644 --- a/src/SALOMESDS/SALOME_DataScopeServer_Common.cxx +++ b/src/SALOMESDS/SALOME_DataScopeServer_Common.cxx @@ -81,5 +81,6 @@ int CommonDataScopeServerMain(int argc, char *argv[], CORBA::ORB_var orb, const // orb->run(); delete killer; + Py_Finalize(); return 0; } -- 2.39.2