Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

weak self dance to avoid retain loop #68

Merged
merged 1 commit into from
Apr 30, 2024
Merged

weak self dance to avoid retain loop #68

merged 1 commit into from
Apr 30, 2024

Conversation

heckj
Copy link
Collaborator

@heckj heckj commented Apr 30, 2024

adding [weak self] to observation closure to avoid a retain loop that would otherwise cause memory leaks

@heckj heckj self-assigned this Apr 30, 2024
@heckj heckj merged commit 6055bf2 into main Apr 30, 2024
1 check passed
@heckj heckj deleted the weakself branch April 30, 2024 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant