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

Mac: Fix some memory leaks #2560

Merged
merged 1 commit into from
Oct 14, 2023

Conversation

cwensley
Copy link
Member

  • EtoLayoutManager wouldn't GC as it wasn't weak referencing the handler
  • Observers don't need an extra retain/release
  • When a window is attached, don't do some extra logic
  • Cache window instances returned with MacHelpers.ToEtoWindow
  • Dispose shared FormattedText when disposing GraphicsHandler

- EtoLayoutManager wouldn't GC as it wasn't weak referencing the handler
- Observers don't need an extra retain/release
- When a window is attached, don't do some extra logic
- Cache window instances returned with MacHelpers.ToEtoWindow
- Dispose shared FormattedText when disposing GraphicsHandler
@cwensley cwensley added the bug label Oct 14, 2023
@cwensley cwensley added this to the 2.8.1 milestone Oct 14, 2023
@cwensley cwensley merged commit 2f90ac9 into picoe:develop Oct 14, 2023
3 checks passed
@cwensley cwensley deleted the curtis/mac-fix-memory-leaks branch October 14, 2023 03:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant