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.
"""
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()