Stephan van Hulst wrote:
Then, the method goes out of scope, so all objects become eligible for collection (note that t hides the instance member t).
Stephan, when you say that the method goes out of scope are you considering the "main" method or "go" method?
Because I think that if you are talking about the go method, no objects will be collected but if you are considering the main method going out of scope so I agree.
I'm only asking to understand better this question.
Thanks.