82e4d28e25
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 |
||
---|---|---|
.. | ||
better | ||
config | ||
cxxreact | ||
fabric | ||
hermes/inspector | ||
jscallinvoker | ||
jsi | ||
jsiexecutor | ||
jsinspector | ||
microprofiler | ||
turbomodule | ||
utils | ||
yoga | ||
React-Fabric.podspec | ||
ReactCommon.podspec |