As pointed out on issue #1, extending from Node in scripts that are not attached to a scene tree may cause memory leaks, as those nodes are required to be freed explicitly.
I'm changing all scripts to extend from Reference instead, which are freed as soon there are no more references to the object.
As pointed out on issue #1, extending from
Node
in scripts that are not attached to a scene tree may cause memory leaks, as those nodes are required to be freed explicitly. I'm changing all scripts to extend fromReference
instead, which are freed as soon there are no more references to the object.See https://docs.godotengine.org/en/stable/getting_started/workflow/best_practices/node_alternatives.html