Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

engine: remove outdated comment about registerFactories() #2412

Merged
merged 1 commit into from
Jul 8, 2022

Conversation

jpsim
Copy link
Contributor

@jpsim jpsim commented Jul 8, 2022

ExtensionRegistry::registerFactories() doesn't do any work at runtime, its purpose is to guarantee that the linker won't strip away these factories as dead code because they're discovered at runtime as opposed to being referenced statically.

So it's safe to call on engine creation because it's a no-op at runtime.

`ExtensionRegistry::registerFactories()` doesn't do any work at runtime,
its purpose is to guarantee that the linker won't strip away these
factories as dead code because they're discovered at runtime as opposed
to being referenced statically.

So it's safe to call on engine creation because it's a no-op at runtime.

Signed-off-by: JP Simard <[email protected]>
@jpsim jpsim requested a review from goaway July 8, 2022 20:18
@jpsim jpsim enabled auto-merge (squash) July 8, 2022 21:12
@jpsim jpsim merged commit 0b88af4 into main Jul 8, 2022
@jpsim jpsim deleted the engine-remove-outdated-comment-about-registerfactories branch July 8, 2022 21:17
jpsim added a commit that referenced this pull request Jul 18, 2022
* main:
  tools: fix source mapping (#2429)
  Update Envoy (#2427)
  tools: add arm64 debug run configuration (#2424)
  Revert "docs: use sphinx githubpages extension (#2418)" (#2425)
  Remove Tulsi configuration & docs (#2421)
  Fix isCleartextTrafficPermitted (#2420)
  Squelch two JNI build warnings (#2426)
  dns: allow using the `getaddrinfo`-based system DNS resolver (#2419)
  docs: use sphinx githubpages extension (#2418)
  Update Envoy (#2417)
  Remove rules_cc uses
  Bump Lyft Support Rotation (#2414)
  iOS: fix retain cycles in `EnvoyNetworkMonitor` (#2415)
  Update Envoy (#2413)
  engine: remove outdated comment about `registerFactories()` (#2412)
  api: make RequestTrailersBuilder and ResponseHeadersBuilder constructors public (#2410)

Signed-off-by: JP Simard <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants