Skip to content

Conversation

@original-brownbear
Copy link
Contributor

l is the same as the finalListener here, that's kind of the point of the API. Fixing this here and removing the local variable the enabled the mistake in the first place. Not a bug, but a needless capture that at times makes heap dumps harder to read and wastes a couple cycles.

`l` is the same as the `finalListener` here, that's kind of the point of
the API. Fixing this here and removing the local variable the enabled
the mistake in the first place. Not a bug, but a needless capture that
at times makes heap dumps harder to read and wastes a couple cycles.
@original-brownbear original-brownbear added >non-issue :Search Foundations/Search Catch all for Search Foundations labels Feb 10, 2025
@elasticsearchmachine elasticsearchmachine added the Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch label Feb 10, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-search-foundations (Team:Search Foundations)

Copy link
Member

@piergm piergm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@original-brownbear original-brownbear added v8.19.0 auto-backport Automatically create backport pull requests when merged labels Feb 11, 2025
@original-brownbear
Copy link
Contributor Author

Thanks Matteo!

@original-brownbear original-brownbear merged commit 28f51e4 into elastic:main Feb 11, 2025
15 of 17 checks passed
@original-brownbear original-brownbear deleted the fix-accidental-capture-listener branch February 11, 2025 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Automatically create backport pull requests when merged >non-issue :Search Foundations/Search Catch all for Search Foundations Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch v8.19.0 v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants