From: Anthony Geay Date: Mon, 9 Sep 2024 16:59:18 +0000 (+0200) Subject: [EDF30875] : Attempt to fix CORBA Comm Failure X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7937e4f199f33a999a762a4c3478e126eef703a4;p=modules%2Fkernel.git [EDF30875] : Attempt to fix CORBA Comm Failure --- diff --git a/src/Container/SALOME_PyNode.py b/src/Container/SALOME_PyNode.py index 4ed8fd958..4a1c2e0d7 100644 --- a/src/Container/SALOME_PyNode.py +++ b/src/Container/SALOME_PyNode.py @@ -982,7 +982,7 @@ class ExchangeContextUsingFile( ExchangeContextBridgeAbs ): with open(outputFileName,"wb") as f: pickle.dump( context, f ) -class ContextExchanger_i(Engines__POA.ContextExchanger,Generic): +class ContextExchanger_i(Engines__POA.ContextExchanger): """ In TCP mode, servant hosted SALOME_Container side. """ @@ -1077,11 +1077,7 @@ class ExchangeContextUsingTCPClt(ExchangeContextCltAbs): return self._portable_serv_entry def setOutputContextEntryPoint(self, dirForReplayFiles, outCtxtEntryPoint): - ret = self._portable_serv_entry - del self._portable_serv_entry # destroy to release ref count - import gc - gc.collect() - return ret + return self._portable_serv_entry def retrieveRemoteContext(self): return self._servant.getOutputContext()