No, avoiding references to the GUI itself being passed indirectly back into the GUI (via an event handler or assigned property) is essential to avoid circular references. You can use bound functions and closures that refer to objects which don't directly or indirectly have any counted reference to the GUI.
SetTimer creates a timer, and a timer internally keeps a reference to the function to be called. You can't have a reference to a timer, so it is not a "circular" reference, but it is like storing the function (presumably bound function or closure) in a global variable.
SetTimer creates a timer, and a timer internally keeps a reference to the function to be called. You can't have a reference to a timer, so it is not a "circular" reference, but it is like storing the function (presumably bound function or closure) in a global variable.
Statistics: Posted by lexikos — 29 minutes ago