do not destroy instance when handling exception

Differential Revision: D2502513
This commit is contained in:
Felix Oghină authored and facebook-github-bot-4 committed 2015-10-02 03:45:24 -07:00
1 parent eee2fd1ca2
commit 3dcc234efd
1 file changed
-7
@@ -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();
}
});
}
}