From 7937e4f199f33a999a762a4c3478e126eef703a4 Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Mon, 9 Sep 2024 18:59:18 +0200 Subject: [PATCH] [EDF30875] : Attempt to fix CORBA Comm Failure --- src/Container/SALOME_PyNode.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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() -- 2.39.2