]> SALOME platform Git repositories - modules/superv.git/commitdiff
Salome HOME
Fix for bug IPAL10722 : CRASH of Salome if to run dataflow with runned Inline node.
authormkr <mkr@opencascade.com>
Wed, 7 Dec 2005 15:07:04 +0000 (15:07 +0000)
committermkr <mkr@opencascade.com>
Wed, 7 Dec 2005 15:07:04 +0000 (15:07 +0000)
src/GraphExecutor/DataFlowExecutor_OutNode.cxx

index 0518ce365aed550ac282fd1287f732bf6505c246..df40330d0645481fec23a489391b32a9e6462e72 100644 (file)
@@ -2036,7 +2036,8 @@ bool GraphExecutor::OutNode::Kill() {
   }
 
   // asv : 25.10.04 : calling Editing() to indicate stop of execution
-  Graph()->GraphEditor()->Editing();
+  if ( RetVal ) // mkr : IPAL10722 : we have to indicate stop of execution if only execution was successfully killed
+    Graph()->GraphEditor()->Editing();
 
   cdebug_out << "GraphExecutor::OutNode::Kill " << RetVal
              << " Threads " << _Threads << " SuspendedThreads " << _SuspendedThreads