Reply To: [Bug] Graphs are not fully reset when Stoping and Starting again

Forums 💬 NodeCanvas ⚙️ Support [Bug] Graphs are not fully reset when Stoping and Starting again Reply To: [Bug] Graphs are not fully reset when Stoping and Starting again

#16245
hosnkobf
Participant

    Hi,

    Unfortunately, your reply doesn’t answer all my questions.
    What I was not sure about is not about my particular action but all actions in the graph.

    So, when I call graph.Stop() within an action it seems that all actions of the graph are reset except the one or ones which are currently executed. (Is this correct?)
    Therefore, I have to reset the current action manually by calling base.EndAction(null).
    But is this enough? Even if non-active-actions are properly reset what about other running actions when using a parallel composite node? I guess there could be actions which are also still running but I cannot call EndAction(null) on them because I don’t know about them. So, I believe they would not reset and would keep running also during the next time I use the graph instance…