An outer Reference class and an inner Reference singleton object will instantly be in a cycle and never get freed (and Godot issues a warning at exit time if this happens). Should we detect this? Should it be allowed? Can we hack it with weakref somehow?
An outer Reference class and an inner Reference singleton object will instantly be in a cycle and never get freed (and Godot issues a warning at exit time if this happens). Should we detect this? Should it be allowed? Can we hack it with weakref somehow?
Example: