mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Back out "Delete RuntimeScheduler yielding mobile config"
Summary: D33740360 (https://github.com/facebook/react-native/commit/16ed62a850dd81bd9cc7f77ab3e77f42ed64b177) broke Explore VR on React Native. The app would go into a loop on boot and not finish mounting. This is probably a product code issue, but it's not a trivial issue to solve. Unlanding to unblock the RN migration. Changelog: [internal] internal Reviewed By: mdvacca Differential Revision: D33918026 fbshipit-source-id: cc77c70ece9994d82c91f7ae8783e959629e9cfb
This commit is contained in:
committed by
Facebook GitHub Bot
parent
e8f7a1b576
commit
3552ff0562
@@ -369,6 +369,8 @@ void Binding::installFabricUIManager(
|
||||
if (runtimeSchedulerHolder) {
|
||||
auto runtimeScheduler = runtimeSchedulerHolder->cthis()->get().lock();
|
||||
if (runtimeScheduler) {
|
||||
runtimeScheduler->setEnableYielding(config->getBool(
|
||||
"react_native_new_architecture:runtimescheduler_enable_yielding_android"));
|
||||
runtimeExecutor =
|
||||
[runtimeScheduler](
|
||||
std::function<void(jsi::Runtime & runtime)> &&callback) {
|
||||
|
||||
Reference in New Issue
Block a user