From: mkr Date: Wed, 7 Dec 2005 15:07:04 +0000 (+0000) Subject: Fix for bug IPAL10722 : CRASH of Salome if to run dataflow with runned Inline node. X-Git-Tag: T_3_1_0pre~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=bfa7b7a7b2088a19735697b8306f8c281e263669;p=modules%2Fsuperv.git Fix for bug IPAL10722 : CRASH of Salome if to run dataflow with runned Inline node. --- 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