Skip to content

Commit

Permalink
Update core/src/main/scala/flatgraph/storage/ZstdWrapper.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
mpollmeier authored Jan 27, 2025
1 parent 0c56477 commit 57341e8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/src/main/scala/flatgraph/storage/ZstdWrapper.scala
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ object ZstdWrapper {
ctx.decompress(bytes, len).order(ByteOrder.LITTLE_ENDIAN)
} finally {
this.synchronized {
if (this.closed) ctx.close() else decompressCtxs.append(ctx)
if (this.closed) ctx.close()
else decompressCtxs.append(ctx)
}
}
}
Expand Down

0 comments on commit 57341e8

Please sign in to comment.