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

Fixed retain cycle between GroupRenderer and parentRenderer #717

Merged
merged 1 commit into from
Jul 20, 2020

Conversation

devpolant
Copy link
Contributor

Updates

In this pull request I fixed retain cycle between GroupRenderer and NodeRenderer:

  • parentRenderer should not be strong, because GroupRenderer also strongly referencing to his child renderers.

I saw that you are trying to broke the retain cycle in dispose() method inside deinit, but deinit won't be called while this retain cycle exists and I didn't see any other place where dispose() method could be called from outside.

@devpolant devpolant changed the title Fixed retain cycle between renderers and GroupRenderer Fixed retain cycle between GroupRenderer and parentRenderer Jul 13, 2020
@ystrot ystrot added this to the 0.9.7 milestone Jul 17, 2020
@ystrot ystrot merged commit 3395183 into exyte:master Jul 20, 2020
@devpolant devpolant deleted the bugfix/node-renderer-retain-cycles branch August 3, 2020 11:32
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.

3 participants