I found a small bug in the LatentActionNode.cs rencently.
If a “Wait” Node is on a flow called by event “On Enable” and is running,when you destory or stop the “FlowScriptController” component,it may not stop as expected.
It seems that an internal “OnGraphStarted” function will be executed AFTER the “On Enable” event,and the function will set the variable which stores the coroutine to null.
I just remove the currentCoroutine = null; in line 36,fix the bug,don’t know whether it will cause other bugs or not.
I’m not a native English Speaker,sorry for my poor English.
Thanks for the report. Indeed this was a known issue and the fix was also indeed removing that code you also removed as well.
I will do another review of the LatentActionNodes in relation to Awake, Start, Enable events to ensure that there are no other related issues in the next version.