Delete RuntimeScheduler yielding mobile config

Summary:
changelog: [internal]

Yielding in RuntimeScheduler is shipped. This diff removes the gating around it.

Reviewed By: sshic

Differential Revision: D33740360

fbshipit-source-id: 267372e81e66dda96e451435954a7c3546cc6fbe
This commit is contained in:
Samuel Susla
2022-01-26 09:23:08 -08:00
committed by Facebook GitHub Bot
parent c9e4d34885
commit 16ed62a850
5 changed files with 8 additions and 40 deletions
@@ -369,8 +369,6 @@ 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) {