react-native-macos/ReactCommon
Ramanpreet Nara 82e4d28e25 Move ownership of TurboModule jni ref to JavaTurboModule
Summary: When you create a TurboModule from the JS side, we instantiate its Java class and simply make this `javaobject` a `jni::global_ref` in C++. But the reason why we need to make this a global ref is because `JavaTurboModule` needs it to be a global reference for method calls. Making this a `jni::global_ref` from the perspective to TurboModuleManager doesn't really make any sense. So, this diff refactors that bit of code.

Differential Revision: D16622133

fbshipit-source-id: 6a5c20bb405b945c06378a3423d5e7eb38ef244c
2019-08-02 10:08:40 -07:00
..
better Fabric: Enable CXX (aka Default) platfrom fravour for all C++ Fabric targets 2019-06-04 15:34:34 -07:00
config Fabric: Enable CXX (aka Default) platfrom fravour for all C++ Fabric targets 2019-06-04 15:34:34 -07:00
cxxreact Add Hermes support to React Native on Android (#25613) 2019-07-25 23:05:53 -07:00
fabric Unify naming of dispatchCommand methods in UIManagerDelegate and Scheduler 2019-07-30 22:42:51 -07:00
hermes/inspector Add Hermes support to React Native on Android (#25613) 2019-07-25 23:05:53 -07:00
jscallinvoker TM iOS: move jscallinvoker under ReactCommon podspec 2019-07-12 22:44:20 -07:00
jsi Remove 's.static_framework = true' requirement for podspec (#25816) 2019-07-25 11:46:43 -07:00
jsiexecutor Remove 's.static_framework = true' requirement for podspec (#25816) 2019-07-25 11:46:43 -07:00
jsinspector Remove 's.static_framework = true' requirement for podspec (#25816) 2019-07-25 11:46:43 -07:00
microprofiler Upgrade mobile BUCK and .bzl files to use C++14 2019-03-16 02:25:33 -07:00
turbomodule Move ownership of TurboModule jni ref to JavaTurboModule 2019-08-02 10:08:40 -07:00
utils Move RuntimeExecutor declaration to react/utils 2019-07-24 19:48:33 -07:00
yoga Added counts for measure callbacks reasons in an array inside qpl annotations 2019-07-31 14:38:38 -07:00
React-Fabric.podspec Remove 's.static_framework = true' requirement for podspec (#25816) 2019-07-25 11:46:43 -07:00
ReactCommon.podspec Remove 's.static_framework = true' requirement for podspec (#25816) 2019-07-25 11:46:43 -07:00