diff --git a/tool/remotecache-benchmark/main.go b/tool/remotecache-benchmark/main.go index 633aa8e99..7b7dc6da6 100644 --- a/tool/remotecache-benchmark/main.go +++ b/tool/remotecache-benchmark/main.go @@ -577,6 +577,7 @@ func (t *BenchmarkTester) runStorageGetBenchmark(ctx context.Context, storage st result.Latencies = append(result.Latencies, latency) } fh.Close() + r.Close() } }(w) }