Skip to content

Commit

Permalink
synchronized releaseByteBuf
Browse files Browse the repository at this point in the history
Signed-off-by: Maxim Nesen <maxim.nesen@oracle.com>
  • Loading branch information
senivam committed Feb 18, 2020
1 parent 8c7d90c commit df5add2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public synchronized void close() {
cleanup(true);
}

private void releaseByteBuf() {
private synchronized void releaseByteBuf() {
if (current != null) {
current.release();
}
Expand Down

0 comments on commit df5add2

Please sign in to comment.