mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Make AccessibilityManager use main queue setup (#50112)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/50112 ## Rationale Rendering can now include main -> js sync calls. If we allow js -> main sync calls during rendering, react native can deadlock. So, this diff moves the js -> main sync calls to "main queue module setup", which occurs before rendering. Changelog: [Internal] Reviewed By: mdvacca Differential Revision: D71347448 fbshipit-source-id: f62a92a35011a7c8de0a7ee35047cc94f23106d1
This commit is contained in:
committed by
Facebook GitHub Bot
parent
6fa638799a
commit
2b03fd74cb
@@ -151,6 +151,9 @@
|
||||
"type": "modules",
|
||||
"ios": {
|
||||
"modules": {
|
||||
"AccessibilityManager": {
|
||||
"unstableRequiresMainQueueSetup": true
|
||||
},
|
||||
"DeviceInfo": {
|
||||
"unstableRequiresMainQueueSetup": true
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user