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

Minor code improvement in closing PipeLineSession #5994

Merged
merged 2 commits into from
Dec 14, 2023

Conversation

tnleeuw
Copy link
Contributor

@tnleeuw tnleeuw commented Dec 14, 2023

The code in this method has been bothering me for a while and I had this change locally for a while now. This cleanup is safe against concurrent modifications, although I think our other code in Message and PipeLineSession had already been cleaned up so this was no longer a problem.

Regardless this is safe and does not create a new Iterator every time!

@tnleeuw tnleeuw self-assigned this Dec 14, 2023
Copy link

sonarcloud bot commented Dec 14, 2023

Quality Gate Failed Quality Gate failed

Failed conditions

D Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarCloud

idea Catch issues before they fail your Quality Gate with our IDE extension SonarLint SonarLint

@nielsm5 nielsm5 merged commit d2802c6 into master Dec 14, 2023
11 of 14 checks passed
@nielsm5 nielsm5 deleted the lcm/MinorCodeImprovement branch December 14, 2023 12:48
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.

None yet

3 participants