Nestled Custom Functions create infinite loop

Forums 💬 FlowCanvas ⚙️ Support Nestled Custom Functions create infinite loop

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #21928
    rami_falldamage
    Participant

      Calling a custom function within a custom function will create an infinite loop. Looking deeper into custom functions I found that the return delegate is stored in the Flow but will be overwritten if you call another custom function within it.

      #21931
      Gavalakis
      Keymaster

        Hey,

        Thanks for the report. I’ve just fixed this by re implementing Return as a Queue and nested custom functions works as expected now.
        Thanks again.

        #21930
        kalms
        Participant

          Are you sure you want it implemented as a Queue? It usually makes a lot more sense to manage return addresses as a Stack.

          #21929
          Gavalakis
          Keymaster

            Yes. You are correct. Sorry, I meant a stack (I often confuse the two 🙂 )
            Thank you.

          Viewing 4 posts - 1 through 4 (of 4 total)
          • You must be logged in to reply to this topic.