react-native-macos/ReactCommon/jsiexecutor/jsireact
Ramanpreet Nara f9a7d3aaa8 Guard .asObject calls with .isObject check in JSINativeModules
Summary:
Checking if the moduleInfo is null, before calling moduleInfo.asObject isn't sufficient. Before calling moduleInfo.asObject, we should first check if the moduleInfo is an Object.

Changelog: [Internal]

Reviewed By: fkgozali

Differential Revision: D26735367

fbshipit-source-id: b726216857bf23a3c9bab14414bf45b10900e033
2021-03-01 20:48:10 -08:00
..
JSIExecutor.cpp Guard .asObject calls with .isObject check in JSIExecutor 2021-03-01 20:48:10 -08:00
JSIExecutor.h Instrument sync and async method calls (#28893) 2020-05-13 20:28:18 -07:00
JSINativeModules.cpp Guard .asObject calls with .isObject check in JSINativeModules 2021-03-01 20:48:10 -08:00
JSINativeModules.h Codemod: Clang-format for all files in `ReactCommon` directory 2020-02-25 19:52:27 -08:00