diff --git a/src/put.jl b/src/put.jl index 82a0043..7ae0153 100644 --- a/src/put.jl +++ b/src/put.jl @@ -94,6 +94,7 @@ function putObjectImpl(x::AbstractStore, key::String, in::RequestBodyType; end # cleanup body if body isa compressorstream(zlibng) + close(body) body = body.stream end if in isa String