forked from expo/expo
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[core] fix SharedObjectRegistry crash for accessing dict from multith…
…reads (expo#25997) # Why fix the crash from https://github.com/ospfranco/expo-sqlite-benchmark # How the hermes gc thread may be different to js thread. we should protect the internal data structures with thread-safety. this pr added a DispatchQueue to protect the internal data structures. # Test Plan test repro on https://github.com/ospfranco/expo-sqlite-benchmark
- Loading branch information
Showing
3 changed files
with
40 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters