Skip to content

Commit

Permalink
Fix memory leak issue #21
Browse files Browse the repository at this point in the history
  • Loading branch information
mp911de committed Jan 11, 2015
1 parent 82a62da commit bf620c6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ protected void decode(ChannelHandlerContext ctx, ByteBuf buffer) throws Interrup
return;
}
queue.take().complete();
buffer.discardReadBytes();
if (output instanceof PubSubOutput) {
ctx.fireChannelRead(output);
}
Expand Down

0 comments on commit bf620c6

Please sign in to comment.