mirror of
https://github.com/status-im/react-native.git
synced 2025-01-15 20:15:11 +00:00
Remove __fbUninstallRNGlobalErrorHandler
Reviewed By: pakoito Differential Revision: D7831179 fbshipit-source-id: 6db9fe617d5a1a23a4aa46c9c3028db13a7a52a0
This commit is contained in:
parent
eba62803b5
commit
10814e2e61
@ -303,12 +303,8 @@ class MessageQueue {
|
|||||||
__shouldPauseOnThrow() {
|
__shouldPauseOnThrow() {
|
||||||
return (
|
return (
|
||||||
// $FlowFixMe
|
// $FlowFixMe
|
||||||
(typeof DebuggerInternal !== 'undefined' &&
|
typeof DebuggerInternal !== 'undefined' &&
|
||||||
DebuggerInternal.shouldPauseOnThrow === true) || // eslint-disable-line no-undef
|
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
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user