mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
5e933fdd2a
Summary: changelog: [internal] With multiple requests to the runtime, we need to make sure they are all granted before React continues with rendering. A boolean is not enough to track this. The first lambda that has VM will set it to false and subsequent requests will have to wait for React to finish rendering. To prevent this, we can count how many lambdas are pending access to the runtime. Reviewed By: ShikaSD Differential Revision: D33792734 fbshipit-source-id: f785fae3575470179dd69acc6a466211b79b633b