]> SALOME platform Git repositories - modules/superv.git/commitdiff
Salome HOME
NPAL14110 : The count of running graphs does not include now the execution
authorrahuel <rahuel@opencascade.com>
Tue, 13 Feb 2007 09:16:08 +0000 (09:16 +0000)
committerrahuel <rahuel@opencascade.com>
Tue, 13 Feb 2007 09:16:08 +0000 (09:16 +0000)
of SubGraphs (corresponding to MacroNodes). Before that count was wrong.

src/Supervision/Graph_Impl.cxx

index 58c34008f60655aa3075510509209159906ab943..c0d7cf7eba9fb4f38584174ec399cd1528952b94 100644 (file)
@@ -813,6 +813,7 @@ SUPERV::Graph_var Graph_Impl::LoadDataFlows( GraphExecutor::DataFlow * aDataFlow
          GraphExecutor::DataFlow * aMacroGraphExecutor ;
          CreateExecutor( _Orb , instanceName() , aMacroGraphName , SUPERV::DataStreamGraph ,
                        dbgfile , &aMacroGraphExecutor );
+          theAutomaton->Executed() ; // Decrement _GraphExecutingNumber for MacroSubGraph
 
        // set GraphMacroLevel for Executor's graph
          GraphBase::Graph* aMacroGraphExe = aMacroGraphExecutor->Graph();