netty5/codec/src
Scott Mitchell 2c78902ebc LzmaFrameEncoderTest leak due to LzmaInputStream close behavior
Motivation:
c1932a8537 made an assumption that the LzmaInputStream which wraps a ByteBufInputStream would delegate the close operation to the wrapped stream. This assumption is not true and thus we still had a leak. An issue has been logged with our LZMA dependency https://github.com/jponge/lzma-java/issues/14.

Modifications:
- Force a close on the wrapped stream

Result:
No more leak.
2016-11-15 17:07:09 -08:00
..
main/java/io/netty/handler/codec ByteBuf Input Stream Reference Count Ownership 2016-11-14 16:29:55 -08:00
test LzmaFrameEncoderTest leak due to LzmaInputStream close behavior 2016-11-15 17:07:09 -08:00