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

[24.0 backport] pkg/ioutils: Make subsequent Close attempts noop #47221

Merged
merged 1 commit into from Jan 25, 2024

Commits on Jan 25, 2024

  1. pkg/ioutils: Make subsequent Close attempts noop

    Turn subsequent `Close` calls into a no-op and produce a warning with an
    optional stack trace (if debug mode is enabled).
    
    Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
    (cherry picked from commit 585d74b)
    Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
    vvoland committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    2918d58 View commit details
    Browse the repository at this point in the history