8000 Remove __fbUninstallRNGlobalErrorHandler · devagul93/react-native@10814e2 · GitHub
Skip to content

Commit 10814e2

Browse files
Hypukfacebook-github-bot
authored andcommitted
Remove __fbUninstallRNGlobalErrorHandler
Reviewed By: pakoito Differential Revision: D7831179 fbshipit-source-id: 6db9fe617d5a1a23a4aa46c9c3028db13a7a52a0
1 parent eba6280 commit 10814e2

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

Libraries/BatchedBridge/MessageQueue.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -303,12 +303,8 @@ class MessageQueue {
303303
__shouldPauseOnThrow() {
304304
return (
305305
// $FlowFixMe
306-
(typeof DebuggerInternal !== 'undefined' &&
307-
DebuggerInternal.shouldPauseOnThrow === true) || // eslint-disable-line no-undef
308-
// FIXME(festevezga) Remove once T24034309 is rolled out internally
309-
// $FlowFixMe
310-
(typeof __fbUninstallRNGlobalErrorHandler !== 'undefined' &&
311-
__fbUninstallRNGlobalErrorHandler === true) // eslint-disable-line no-undef
306+
typeof DebuggerInternal !== 'undefined' &&
307+
DebuggerInternal.shouldPauseOnThrow === true // eslint-disable-line no-undef
312308
);
313309
}
314310

0 commit comments

Comments
 (0)