Nestled Custom Functions create infinite loop

FlowCanvas Forums Support Nestled Custom Functions create infinite loop

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1815
    Rami
    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.

    #1824
    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.

    Join us on Discord: https://discord.gg/97q2Rjh

    #1831
    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.

    #1833
    Gavalakis
    Keymaster

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

    Join us on Discord: https://discord.gg/97q2Rjh

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