SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

fix flaky RuntimeSchedulerTest (#50845)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/50845

changelog: [internal]

`signalTaskToSync` should be released after `executeNowOnTheSameThread` is called to prevent race condition between `executeNowOnTheSameThread` and reading stubQueue's size on line 723.

Reviewed By: rubennorte, rshest

Differential Revision: D73437449

fbshipit-source-id: 3b2af3ddee5a422f7f846cc34ebbb7695463c267
S
Samuel Susla committed
4221fc8a32a716a947b3c23af974bc5c4a2219d9
Parent: 7a3da81
Committed by Facebook GitHub Bot <[email protected]> on 4/22/2025, 4:15:27 PM