Salome HOME
projects
/
modules
/
yacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8994efe
)
[EDF27816] : in case of UsingPythonCache disabled (default) all temporary variables...
author
Anthony Geay
<anthony.geay@edf.fr>
Mon, 5 Jun 2023 11:49:11 +0000
(13:49 +0200)
committer
Anthony Geay
<anthony.geay@edf.fr>
Mon, 5 Jun 2023 11:49:11 +0000
(13:49 +0200)
src/runtime/PythonNode.cxx
patch
|
blob
|
history
diff --git
a/src/runtime/PythonNode.cxx
b/src/runtime/PythonNode.cxx
index 59f5a3a73e51f224a5fcc52003d18c3c05f9030e..77cb39fc1efa5dde6feba3878e573f785fb4108a 100644
(file)
--- a/
src/runtime/PythonNode.cxx
+++ b/
src/runtime/PythonNode.cxx
@@
-488,6
+488,8
@@
void PythonNode::executeRemote()
//serializationInput and serializationInputCorba are no more needed for server. Release it.
serializationInput.set(nullptr);
resultCorba.reset( _pynode->executeSecond(myseq) );
+ if( ! this->isUsingPythonCache() )
+ _pynode->removeAllVarsInContext();
}
catch( const SALOME::SALOME_Exception& ex )
{