Skip to content

Commit

Permalink
update rn patch (#1982)
Browse files Browse the repository at this point in the history
  • Loading branch information
brunobar79 committed May 4, 2021
1 parent f570c42 commit 6251bb4
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions patches/react-native+0.63.3.patch
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
diff --git a/node_modules/react-native/Libraries/BatchedBridge/NativeModules.js b/node_modules/react-native/Libraries/BatchedBridge/NativeModules.js
index 5410125..82b99df 100644
--- a/node_modules/react-native/Libraries/BatchedBridge/NativeModules.js
+++ b/node_modules/react-native/Libraries/BatchedBridge/NativeModules.js
@@ -164,6 +164,7 @@ function updateErrorWithErrorData(
let NativeModules: {[moduleName: string]: Object, ...} = {};
if (global.nativeModuleProxy) {
NativeModules = global.nativeModuleProxy;
+ global.nativeModuleProxy = null;
} else if (!global.nativeExtensions) {
const bridgeConfig = global.__fbBatchedBridgeConfig;
invariant(
diff --git a/node_modules/react-native/Libraries/Core/Timers/JSTimers.js b/node_modules/react-native/Libraries/Core/Timers/JSTimers.js
index 4c154db..89051c8 100644
--- a/node_modules/react-native/Libraries/Core/Timers/JSTimers.js
Expand Down

0 comments on commit 6251bb4

Please sign in to comment.