Simplify ChannelInboundMessageHandlerAdapter.inboundBufferUpdated() implementation
This commit is contained in:
parent
0e3825899a
commit
e4aa941bd4
@ -92,13 +92,12 @@ public abstract class ChannelInboundMessageHandlerAdapter<I>
|
||||
I imsg = (I) msg;
|
||||
try {
|
||||
messageReceived(ctx, imsg);
|
||||
} catch (Signal abort) {
|
||||
abort.expect(ABORT);
|
||||
break;
|
||||
} finally {
|
||||
BufUtil.release(imsg);
|
||||
}
|
||||
}
|
||||
} catch (Signal abort) {
|
||||
abort.expect(ABORT);
|
||||
} finally {
|
||||
if (oldOutSize != out.size()) {
|
||||
ctx.fireInboundBufferUpdated();
|
||||
|
Loading…
Reference in New Issue
Block a user