Skip to content

Scope LongLivedObjectCollection per runtime [2/n]#43409

Closed
fabriziocucci wants to merge 1 commit intofacebook:mainfrom
fabriziocucci:export-D54638813
Closed

Scope LongLivedObjectCollection per runtime [2/n]#43409
fabriziocucci wants to merge 1 commit intofacebook:mainfrom
fabriziocucci:export-D54638813

Conversation

@fabriziocucci
Copy link
Copy Markdown
Contributor

@fabriziocucci fabriziocucci commented Mar 11, 2024

Summary:
Changelog:
[General] [Breaking] - Make LongLivedObject constructor accept a Runtime reference.

Context

Approach 1 as described in RFC post.

This diff

  • Embed Runtime reference in LongLivedObject to keep supporting allowRelease method (and update extending classes accordingly)
  • Update MSFT fork accordingly

Reviewed By: RSNara

Differential Revision: D54638813

Summary:
Changelog:
[General] [Breaking] - Make `LongLivedObject` constructor accept a `Runtime` reference.

# Context

Approach 1 as described in [RFC post](https://fb.workplace.com/groups/615693552291894/permalink/1693347124526526/).

# This diff

* Embed `Runtime` reference in `LongLivedObject` to keep supporting `allowRelease` method (and update extending classes accordingly)
* Update Microsoft fork accordingly

Reviewed By: RSNara

Differential Revision: D54638813
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Mar 11, 2024
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D54638813

fabriziocucci added a commit to fabriziocucci/react-native that referenced this pull request Mar 11, 2024
Summary:

Changelog:
[General] [Breaking] - Make `LongLivedObject` constructor accept a `Runtime` reference.

# Context

Approach 1 as described in [RFC post](https://fb.workplace.com/groups/615693552291894/permalink/1693347124526526/).

# This diff

* Embed `Runtime` reference in `LongLivedObject` to keep supporting `allowRelease` method (and update extending classes accordingly)
* Update MSFT fork accordingly

Reviewed By: RSNara

Differential Revision: D54638813
@analysis-bot
Copy link
Copy Markdown

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 18,057,565 +4,076
android hermes armeabi-v7a n/a --
android hermes x86 n/a --
android hermes x86_64 n/a --
android jsc arm64-v8a 21,412,008 +4,087
android jsc armeabi-v7a n/a --
android jsc x86 n/a --
android jsc x86_64 n/a --

Base commit: 1ea269f
Branch: main

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Mar 11, 2024
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in 3706bf0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants