Skip to content

Commit

Permalink
fixed writing of ZIP files with textures
Browse files Browse the repository at this point in the history
  • Loading branch information
clausnagel committed Dec 7, 2024
1 parent 94814b1 commit c2d0b4c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ void writeTo(ZipArchiveOutputStream target, Set<String> entries) throws IOExcept

try (BoundedInputStream rawStream = BoundedInputStream.builder()
.setInputStream(stream)
.setMaxCount(entry.getCompressedSize()).get()) {
.setMaxCount(entry.getCompressedSize())
.setPropagateClose(false).get()) {
target.addRawArchiveEntry(entry, rawStream);
}
} else {
Expand Down

0 comments on commit c2d0b4c

Please sign in to comment.