Skip to content

Commit

Permalink
full clear of NettyInputStream
Browse files Browse the repository at this point in the history
Signed-off-by: Maxim Nesen <[email protected]>
  • Loading branch information
senivam committed Oct 30, 2020
1 parent 97926d3 commit cb3d1cf
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,12 @@ public synchronized void publish(ByteBuf content) {

public void clear() {
end = false;
reading = false;

cause = null;
buffer = null;
current = null;

isList.clear();
}
}

0 comments on commit cb3d1cf

Please sign in to comment.