From 801909be5bb248cb072d4bd4e471928428232cf5 Mon Sep 17 00:00:00 2001 From: Ramanpreet Nara Date: Mon, 13 Sep 2021 02:30:51 -0700 Subject: [PATCH] Disable TurboModulManagerDelegate locking by default Summary: This diff disables the TurboModuleManager delegate locking by default in the TurboModule system. Changelog: [Internal] Reviewed By: sammy-SC Differential Revision: D30862260 fbshipit-source-id: 917c1e5862c69a753e33813705eead0e97cf5e9a --- React/Base/RCTBridge.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/React/Base/RCTBridge.m b/React/Base/RCTBridge.m index 85533c04dfebde..3cc61733034100 100644 --- a/React/Base/RCTBridge.m +++ b/React/Base/RCTBridge.m @@ -150,7 +150,7 @@ void RCTSetTurboModuleCleanupMode(RCTTurboModuleCleanupMode mode) } // Turn off TurboModule delegate locking -static BOOL turboModuleManagerDelegateLockingDisabled = NO; +static BOOL turboModuleManagerDelegateLockingDisabled = YES; BOOL RCTTurboModuleManagerDelegateLockingDisabled(void) { return turboModuleManagerDelegateLockingDisabled;