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

Fix Reference Cycle #255

Merged
merged 4 commits into from
Jul 4, 2024
Merged

Conversation

thecoolwinter
Copy link
Collaborator

@thecoolwinter thecoolwinter commented Jul 4, 2024

Description

Fixes a strong reference cycle in TextViewController causing it to not release when removed from the view hierarchy.

Related Issues

Checklist

  • I read and understood the contributing guide as well as the code of conduct
  • The issues this PR addresses are related to each other
  • My changes generate no new warnings
  • My code builds and runs on my machine
  • My changes are all related to the related issue above
  • I documented my code

Screenshots

Stable memory usage in the example app (mem jumps are opening & closing a large file a few times):
Screenshot 2024-07-03 at 8 22 20 PM

@thecoolwinter thecoolwinter merged commit 528e3f1 into CodeEditApp:main Jul 4, 2024
2 checks passed
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.

2 participants