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
This commit is contained in:
Ramanpreet Nara
2021-09-13 02:32:20 -07:00
committed by Facebook GitHub Bot
parent cc3064d394
commit 801909be5b
+1 -1
View File
@@ -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;