mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/47529 RuntimeExecutor, RuntimeScheduler, etc. can execute arbitrary c++ on the javascript thread. If that c++ throws a non-jsi::JSError, it will bypass the js error handler (and start tearing down the react instance 😱). Let's have the js error handler manage all exceptions raised while native is calling into js. This is more sane. Changelog: [Internal] Reviewed By: sammy-SC Differential Revision: D64626610 fbshipit-source-id: 40132f24b4e2737ae3f055fbd09153111404e5bf