What happens to godot's coroutine when callee or caller node is freed?
I'm concerned about coroutines in gdscript regarding their potential behavior when one of the node is freed. I couldn't find official documentation on how they are supposed to act in the following scenario. Assuming two nodes Caller and Callee such that callee has a member signal some_signal. From some instance of Caller, we call some_func which asynchronously await a signal from some callee. func some_func(callee): x = await callee.some_signal I understand this creates a GDScriptFunctionState object (which intuitively make sens : "something" lingers to keep the state order to resume the funct
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.