mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary:We were calling `CFRunLoopStop` from `-dealloc` in the `JSCExecutor`, but dealloc is not guaranteed to run in the same thread. Move it to `-invalidate` instead. Reviewed By: javache Differential Revision: D3092645 fb-gh-sync-id: 94b51fec4a9fe0784feeb83d1b0c41de1cd7c052 fbshipit-source-id: 94b51fec4a9fe0784feeb83d1b0c41de1cd7c052