From: Anthony Geay Date: Fri, 1 Oct 2021 09:40:17 +0000 (+0200) Subject: No more complaints with deb9 native python3.5 X-Git-Tag: V9_8_0a1~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f915bd4ce669552a3a15eba77adb738ed8b8fd27;p=modules%2Fkernel.git No more complaints with deb9 native python3.5 --- 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; }