Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cloud: close Reader before resetting in ResumingReader
This change `Close()`s the Reader before resetting it when we encounter a resumable error in the ResumingReader. This is particularly important for the http external storage provide, since forgetting to call Close() results in goroutine leaks from go1.17.6 onwards. See: golang/go#50652 Release note: None
- Loading branch information