Skip to content

Commit

Permalink
Add @DoNotStrip annotation to getJavaModule
Browse files Browse the repository at this point in the history
Summary:
For some reason, I think this method is being optimized away, which is really strange considering that it's being used in getModule.

Changelog:
[Internal]

Reviewed By: ejanzer

Differential Revision: D19454855

fbshipit-source-id: 414b4888f7aacf730dd22939e2e2140b94dff4e7
  • Loading branch information
RSNara authored and facebook-github-bot committed Jan 18, 2020
1 parent 459c54c commit 44678bb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ public List<String> getEagerInitModuleNames() {
return mTurbomoduleManagerDelegate.getEagerInitModuleNames();
}

@DoNotStrip
@Nullable
private TurboModule getJavaModule(String name) {
if (!mTurboModules.containsKey(name)) {
Expand Down

0 comments on commit 44678bb

Please sign in to comment.