Issue #5287 - close deflater on release if non-pooled entry
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
This commit is contained in:
parent
608a895aab
commit
7cac3d76bb
|
@ -140,6 +140,10 @@ public abstract class CompressionPool<T> extends AbstractLifeCycle
|
|||
close();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
close();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue