netty5/codec
Idel Pivnitskiy 0cc3eccc2b Close ObjectInputStream in ObjectDecoder.decode(...)
Motivation:

We create a new CompactObjectInputStream with ByteBufInputStream in ObjectDecoder.decode(...) method and don't close this InputStreams before return statement.

Modifications:

Save link to the ObjectInputStream and close it before return statement.

Result:

Close InputStreams and clean up unused resources. It will be better for GC.
2014-07-20 09:23:35 +02:00
..
src Close ObjectInputStream in ObjectDecoder.decode(...) 2014-07-20 09:23:35 +02:00
pom.xml Implemented LZF compression codec 2014-07-17 07:18:07 +02:00