Skip to content

Commit 6c798d6

Browse files
authored
[ISSUE #9593] Optimize Deflater resource release (#9594)
1 parent 69e2524 commit 6c798d6

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

common/src/main/java/org/apache/rocketmq/common/compression/ZlibCompressor.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ public byte[] compress(byte[] src, int level) throws IOException {
4141
deflaterOutputStream.close();
4242
result = byteArrayOutputStream.toByteArray();
4343
} catch (IOException e) {
44-
defeater.end();
4544
throw e;
4645
} finally {
4746
try {

0 commit comments

Comments
 (0)