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

Break DuckPlayer ref cycle #3206

Merged
merged 2 commits into from
Aug 8, 2024
Merged

Break DuckPlayer ref cycle #3206

merged 2 commits into from
Aug 8, 2024

Conversation

afterxleep
Copy link
Collaborator

Task/Issue URL: https://app.asana.com/0/414709148257752/1207998631270910/f

Description:
Breaks reference cycle between DuckPlayer and TabViewController, which can contribute to containers not being properly cleaned up

Steps to test this PR:

  1. Fire up the app, navigate away
  2. Check Memory Graph, confirm the duckPlayer property in TabViewController is now a weak reference,
  3. Fire button everything.
  4. There should not be leftovers.

@afterxleep afterxleep requested review from brindy and miasma13 August 7, 2024 21:48
@brindy brindy changed the base branch from main to release/7.132.0 August 8, 2024 11:15
Copy link
Contributor

@brindy brindy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks! I'm going to merge and kick off the release.

@brindy brindy merged commit dd4bfb9 into release/7.132.0 Aug 8, 2024
24 checks passed
@brindy brindy deleted the daniel/dp.strong.ref branch August 8, 2024 11:25
samsymons added a commit that referenced this pull request Aug 12, 2024
# By Sam Symons (3) and others
# Via Chris Brind (2) and others
* main:
  DuckPlayer contingency messages pixels (#3220)
  New autofill onboarding for existing DDG users (#3170)
  Add translations for DuckPlayer contingency messge (#3215)
  Fix PrivacyProDataReporter crash due to premature secure vault use (#3217)
  Bump rexml from 3.2.9 to 3.3.3 (#3175)
  Bump submodules/privacy-reference-tests from `a603ff9` to `afb4f61` (#3165)
  [DuckPlayer] 16. Localization Updates (#3200)
  Release 7.132.0-3 (#3213)
  cherry pick temporary fix for https://app.asana.com/0/414235014887631/1207990702991361/f
  fix content inset when keyboard is visible (#3207)
  Ship review feedback for contingency message (#3209)
  Release 7.132.0-2 (#3211)
  Restore attribution flag (#3197)
  Restore attribution flag (#3197)
  Release 7.132.0-1 (#3208)
  Break DuckPlayer ref cycle (#3206)
  Show improved Dax onboarding on New Tab Page (#3203)

# Conflicts:
#	DuckDuckGo.xcodeproj/project.pbxproj
#	DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
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