From 449a0f38e4bd31fb4388cabf07b165d31338ecc9 Mon Sep 17 00:00:00 2001 From: mkr Date: Tue, 23 Jan 2007 09:43:46 +0000 Subject: [PATCH] Fix for IPAL14572 : Unstable behavior: "PyFunction()" returns an empty list after graph execution. --- src/GraphExecutor/DataFlowExecutor_OutNode.cxx | 1 + 1 file changed, 1 insertion(+) 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 ; -- 2.39.2