mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
a1b6f7bd9e
Summary: The implementation of RuntimeExecutor must execute all provided callbacks. However, the implementation of RCTRuntimeExecutorFromBridge cannot guarantee it because it relies on Bridge to make the call. In this diff, we wrap the callback into a callable that asserts if it's not being called before destruction. Changelog: [Internal] Fabric-specific internal change. Reviewed By: mdvacca Differential Revision: D22810439 fbshipit-source-id: f11932019ab6ccbab7e65db5919e0c64dcaf37ed