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

Use static lambda in WorkProcessorOperatorAdapter #22689

Merged

Conversation

pettyjamesm
Copy link
Member

Description

Avoid capturing a local reference to "this" which can retain memory in the operator info supplier longer than intended.

Release notes

(x) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text:

@cla-bot cla-bot bot added the cla-signed label Jul 16, 2024
@pettyjamesm pettyjamesm changed the title Use static lambda in WorkProcessesOperatorAdapter Use static lambda in WorkProcessorOperatorAdapter Jul 16, 2024
@pettyjamesm pettyjamesm requested a review from sopel39 July 16, 2024 21:10
Avoid capturing a local reference to "this" which can retain memory in
the operator info supplier longer than intended.
@pettyjamesm pettyjamesm force-pushed the avoid-capturing-info-supplier branch from 9482c88 to 24bf424 Compare July 16, 2024 21:12
@pettyjamesm pettyjamesm merged commit 447c502 into trinodb:master Jul 16, 2024
96 checks passed
@pettyjamesm pettyjamesm deleted the avoid-capturing-info-supplier branch July 16, 2024 22:46
@github-actions github-actions bot added this to the 453 milestone Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants