Skip to content

avoid goroutine leak when using zstd

Compare
Choose a tag to compare
@mostynb mostynb released this 28 Aug 21:23
· 45 commits to main since this release

github.com/klauspost/compress/zstd requires that Close is called before encoders/decoders are garbage-collected, otherwise it leaks goroutines. Background: klauspost/compress#264

Thanks to @ains-stripe for the fix.