From: mkr Date: Tue, 23 Jan 2007 09:43:46 +0000 (+0000) Subject: Fix for IPAL14572 : Unstable behavior: "PyFunction()" returns an empty list after... X-Git-Tag: V3_2_5pre1~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=449a0f38e4bd31fb4388cabf07b165d31338ecc9;p=modules%2Fsuperv.git Fix for IPAL14572 : Unstable behavior: "PyFunction()" returns an empty list after graph execution. --- diff --git a/src/GraphExecutor/DataFlowExecutor_OutNode.cxx b/src/GraphExecutor/DataFlowExecutor_OutNode.cxx index ef342d0..20359ef 100644 --- a/src/GraphExecutor/DataFlowExecutor_OutNode.cxx +++ b/src/GraphExecutor/DataFlowExecutor_OutNode.cxx @@ -2144,6 +2144,7 @@ bool GraphExecutor::OutNode::DoneWait() { perror("pthread_mutex_lock _DoneWait") ; exit( 0 ) ; } + if ( Done() || IsKilled() ) Graph()->GraphEditor()->Editing(); // mkr : IPAL14572 : calling Editing() to indicate stop of execution cdebug_out << pthread_self() << " GraphExecutor::DoneWait " << this << " " << Name() << " " << State() << " : " << aret << endl ; return aret ;