Skip to content

Make RCTBundleManager's bundleURL a strong property #1025

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

Merged
merged 2 commits into from
Feb 16, 2022

Conversation

amgleitman
Copy link
Member

Please select one of the following

  • I am removing an existing difference between facebook/react-native and microsoft/react-native-macos 👍
  • I am cherry-picking a change from Facebook's react-native into microsoft/react-native-macos 👍
  • I am making a fix / change for the macOS implementation of react-native
  • I am making a change required for Microsoft usage of react-native

Summary

We've seen a downstream compilation error where RCTBundleManager's bundleURL property isn't given a good memory management attribute. Making this property strong seems like the right thing to do here, since if someone is interested in knowing this URL they might as well hold a strong reference to it.

Test Plan

Validated that RNTester still compiles.

@amgleitman amgleitman requested a review from a team as a code owner February 15, 2022 22:30
@amgleitman amgleitman merged commit 7193ea0 into microsoft:main Feb 16, 2022
amgleitman added a commit that referenced this pull request Feb 17, 2022
…y-pick-1025

[0.66-stable cherry pick #1025] Make RCTBundleManager's bundleURL a strong property
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.

4 participants