Skip to content

Commit

Permalink
Fixed RakMessageEncapsulationCodec
Browse files Browse the repository at this point in the history
  • Loading branch information
RaphiMC committed Dec 10, 2023
1 parent c11aaba commit fa96c19
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ protected void encode(ChannelHandlerContext ctx, ByteBuf msg, List<Object> out)
try {
buf.addComponent(true, ctx.alloc().ioBuffer(1).writeByte(FRAME_ID));
buf.addComponent(true, msg.retainedSlice());
out.add(buf.retain());
out.add(new RakMessage(buf.retain()));
} finally {
buf.release();
}
Expand Down

0 comments on commit fa96c19

Please sign in to comment.