mirror of
https://github.com/status-im/react-native.git
synced 2025-02-27 00:20:31 +00:00
do not destroy instance when handling exception
Differential Revision: D2502513
This commit is contained in:
parent
eee2fd1ca2
commit
3dcc234efd
@ -355,13 +355,6 @@ public class CatalystInstance {
|
|||||||
// framework/native code, it was triggered by JS and theoretically since we were able
|
// framework/native code, it was triggered by JS and theoretically since we were able
|
||||||
// to set up the bridge, JS could change its logic, reload, and not trigger that crash.
|
// to set up the bridge, JS could change its logic, reload, and not trigger that crash.
|
||||||
mNativeModuleCallExceptionHandler.handleException(e);
|
mNativeModuleCallExceptionHandler.handleException(e);
|
||||||
mCatalystQueueConfiguration.getUIQueueThread().runOnQueue(
|
|
||||||
new Runnable() {
|
|
||||||
@Override
|
|
||||||
public void run() {
|
|
||||||
destroy();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user