Remove __fbUninstallRNGlobalErrorHandler

Reviewed By: pakoito

Differential Revision: D7831179

fbshipit-source-id: 6db9fe617d5a1a23a4aa46c9c3028db13a7a52a0
This commit is contained in:
Nurzhan Bakibayev 2018-05-21 11:08:25 -07:00 committed by Facebook Github Bot
parent eba62803b5
commit 10814e2e61
1 changed files with 2 additions and 6 deletions

View File

@ -303,12 +303,8 @@ class MessageQueue {
__shouldPauseOnThrow() {
return (
// $FlowFixMe
(typeof DebuggerInternal !== 'undefined' &&
DebuggerInternal.shouldPauseOnThrow === true) || // eslint-disable-line no-undef
// FIXME(festevezga) Remove once T24034309 is rolled out internally
// $FlowFixMe
(typeof __fbUninstallRNGlobalErrorHandler !== 'undefined' &&
__fbUninstallRNGlobalErrorHandler === true) // eslint-disable-line no-undef
typeof DebuggerInternal !== 'undefined' &&
DebuggerInternal.shouldPauseOnThrow === true // eslint-disable-line no-undef
);
}