From f4dd3addb66205502caa32984b0ad5875b6207d2 Mon Sep 17 00:00:00 2001 From: Alex Hunt Date: Wed, 7 May 2025 04:26:06 -0700 Subject: [PATCH] Remove force disable Fusebox flag (#51127) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/51127 Changelog: [Internal] Reviewed By: hoxyq Differential Revision: D74246823 fbshipit-source-id: af3978c120853d4ef1150fffb38c71c74728f907 --- .../ReactCommon/jsinspector-modern/InspectorFlags.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/packages/react-native/ReactCommon/jsinspector-modern/InspectorFlags.cpp b/packages/react-native/ReactCommon/jsinspector-modern/InspectorFlags.cpp index 485aedaaa43..bd949687b04 100644 --- a/packages/react-native/ReactCommon/jsinspector-modern/InspectorFlags.cpp +++ b/packages/react-native/ReactCommon/jsinspector-modern/InspectorFlags.cpp @@ -41,12 +41,6 @@ void InspectorFlags::dangerouslyDisableFuseboxForTest() { fuseboxDisabledForTest_ = true; } -#if defined(REACT_NATIVE_DEBUGGER_ENABLED) && \ - defined(REACT_NATIVE_DEBUGGER_FORCE_DISABLE) -#error \ - "Cannot define both REACT_NATIVE_DEBUGGER_ENABLED and REACT_NATIVE_DEBUGGER_FORCE_DISABLE" -#endif - const InspectorFlags::Values& InspectorFlags::loadFlagsAndAssertUnchanged() const { InspectorFlags::Values newValues = {