Salome HOME
Avoid additionnal CORBA invocation to clear context
authorAnthony Geay <anthony.geay@edf.fr>
Mon, 12 Jun 2023 14:51:06 +0000 (16:51 +0200)
committerAnthony Geay <anthony.geay@edf.fr>
Tue, 22 Aug 2023 09:42:41 +0000 (11:42 +0200)
src/runtime/PythonNode.cxx

index ec172ff4ba0e885da7e2ad193a194b4d1ba0b1c5..3334d97e2a41c0ef119f043a45cfc0eca16f349d 100644 (file)
@@ -539,8 +539,6 @@ 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 )
     {