From bfa7b7a7b2088a19735697b8306f8c281e263669 Mon Sep 17 00:00:00 2001 From: mkr Date: Wed, 7 Dec 2005 15:07:04 +0000 Subject: [PATCH] Fix for bug IPAL10722 : CRASH of Salome if to run dataflow with runned Inline node. --- src/GraphExecutor/DataFlowExecutor_OutNode.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/GraphExecutor/DataFlowExecutor_OutNode.cxx b/src/GraphExecutor/DataFlowExecutor_OutNode.cxx index 0518ce3..df40330 100644 --- a/src/GraphExecutor/DataFlowExecutor_OutNode.cxx +++ b/src/GraphExecutor/DataFlowExecutor_OutNode.cxx @@ -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 -- 2.39.2