Skillz interview question

Q: Prevent a retaining cycle from occurring in the sample code provided.