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

Always close directory streams #88560

Merged
merged 2 commits into from
Jul 15, 2022

Conversation

ChrisHegarty
Copy link
Contributor

This change fixes a couple of directory streams that were not being explicitly closed - which could lead to a descriptor/memory leak.

There are other instances of this issue, but I want so quash these quickly so as to eliminate them from being test failure suspects (on Windows). Other instances of this issue can be done as a follow-up.

@ChrisHegarty ChrisHegarty added >bug :Core/Infra/Core Core issues without another label Team:Core/Infra Meta label for core/infra team labels Jul 14, 2022
@ChrisHegarty ChrisHegarty requested a review from rjernst July 14, 2022 17:04
@ChrisHegarty ChrisHegarty self-assigned this Jul 14, 2022
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

@elasticsearchmachine
Copy link
Collaborator

Hi @ChrisHegarty, I've created a changelog YAML for you.

Copy link
Contributor

@grcevski grcevski left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Member

@rjernst rjernst left a comment

Choose a reason for hiding this comment

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

LGTM

@ChrisHegarty ChrisHegarty merged commit 8107365 into elastic:master Jul 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Core/Infra/Core Core issues without another label Team:Core/Infra Meta label for core/infra team v8.4.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants