netty5/codec-http2/src/test/java/io
Norman Maurer 4beb075dd3 Ensure we only call debugData.release() if we called debugData.retain()
Motivation:

We need to ensure we only call debugData.release() if we called debugData.retain(), otherwise we my see an IllegalReferenceCountException.

Modifications:

Only call release() if we called retain().

Result:

No more IllegalReferenceCountException possible.
2016-09-12 06:47:38 -07:00
..
netty/handler/codec/http2 Ensure we only call debugData.release() if we called debugData.retain() 2016-09-12 06:47:38 -07:00