do not destroy instance when handling exception

Differential Revision: D2502513
This commit is contained in:
Felix Oghină 2015-10-02 03:41:51 -07:00 committed by facebook-github-bot-4
parent eee2fd1ca2
commit 3dcc234efd

View File

@ -355,13 +355,6 @@ public class CatalystInstance {
// 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.
mNativeModuleCallExceptionHandler.handleException(e);
mCatalystQueueConfiguration.getUIQueueThread().runOnQueue(
new Runnable() {
@Override
public void run() {
destroy();
}
});
}
}