Skip to content

Require constant initialization for native static state (#59489) - #59489

Closed
javache wants to merge 2 commits into
react:mainfrom
javache:export-D127576609
Closed

javache wants to merge 2 commits into
react:mainfrom
javache:export-D127576609

Conversation

@javache

@javache javache commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Summary:

Enforce constant initialization for eligible native globals, static defaults, synchronization primitives, and thread-local state without changing their mutability or lifetime.

Changelog: [Internal]

Reviewed By: christophpurrer, cipolleschi

Differential Revision: D127576609

Summary:
Require constant initialization for the layout generation counter and event subscriber list.

Changelog: [Internal]

___

landed-with-radar-review

Differential Revision: D127576224
@meta-cla meta-cla 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 Oct 26, 2026
@meta-codesync

meta-codesync Bot commented Oct 26, 2026

Copy link
Copy Markdown

@javache has exported this pull request. If you are a Meta employee, you can view the originating Diff in D127576609.

Summary:
Pull Request resolved: react#59489

Enforce constant initialization for eligible native globals, static defaults, synchronization primitives, and thread-local state without changing their mutability or lifetime.

Changelog: [Internal]

Reviewed By: christophpurrer, cipolleschi

Differential Revision: D127576609
@meta-codesync meta-codesync Bot changed the title Require constant initialization for native static state Require constant initialization for native static state (#59489) Oct 26, 2026
@meta-codesync meta-codesync Bot closed this in a8bdbf4 Oct 26, 2026
@meta-codesync meta-codesync Bot added the Merged This PR has been merged. label Oct 26, 2026
@meta-codesync

meta-codesync Bot commented Oct 26, 2026

Copy link
Copy Markdown

This pull request has been merged in a8bdbf4.

@react-native-bot

Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @javache in a8bdbf4

When will my fix make it into a release? | How to file a pick request?

@javache
javache deleted the export-D127576609 branch October 26, 2026 20:02
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. Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants