netty5/transport/src/test
Norman Maurer c5c318f56c Release message when validation of passed in ChannelPromise fails when calling write(...) / writeAndFlush(...) (#8769)
Motivation:

We need to release the message when we throw an IllegalArgumentException because of a validation failure of the promise to eliminate the risk of a memory leak.

Modifications:

- Consistently release the message before rethrow
- Add testcase.

Result:

Fixes https://github.com/netty/netty/issues/8765.
2019-01-24 07:49:44 +01:00
..
java/io/netty Release message when validation of passed in ChannelPromise fails when calling write(...) / writeAndFlush(...) (#8769) 2019-01-24 07:49:44 +01:00