Issue #5287 - close deflater on release if non-pooled entry

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
This commit is contained in:
Lachlan Roberts 2020-09-25 23:49:46 +10:00
parent 608a895aab
commit 7cac3d76bb
1 changed files with 4 additions and 0 deletions

View File

@ -140,6 +140,10 @@ public abstract class CompressionPool<T> extends AbstractLifeCycle
close();
}
}
else
{
close();
}
}
@Override