Skip to content

Commit

Permalink
Disable TurboModulManagerDelegate locking by default
Browse files Browse the repository at this point in the history
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
  • Loading branch information
RSNara authored and facebook-github-bot committed Sep 13, 2021
1 parent cc3064d commit 801909b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion React/Base/RCTBridge.m
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 801909b

Please sign in to comment.