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

[0.72-stable] Make socketConnections NSDictionary thread-safe #1985

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:

Cherry-pick of commits from #1980.

Changelog:

[IOS] [FIXED] - Improve RCTInspectorDevServerHelper thread safety

Test Plan:

Tested this change in an internal app that consumes React Native and confirmed that it doesn't crash. (Without this change, crashes happened intermittently but frequently enough that it was noticeable.)

Sorry, something went wrong.

Adam Gleitman added 4 commits November 15, 2023 13:33

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Reason: @synchronized(nil) can do weird stuff
@amgleitman amgleitman requested a review from a team as a code owner November 15, 2023 22:16
@amgleitman amgleitman merged commit f688ccd into microsoft:0.72-stable Nov 17, 2023
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.

None yet

2 participants