Backout ReactNative sync as some tests broke

This commit is contained in:
Mehdi Mulani 2015-10-02 06:53:08 -07:00 committed by facebook-github-bot-6
parent 7a4348917f
commit 1d8d3d779a
1 changed files with 7 additions and 0 deletions

View File

@ -355,6 +355,13 @@ 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();
}
});
}
}