[#1051] Increment by the correct value
This commit is contained in:
parent
6983f704c0
commit
7c002504a1
@ -71,7 +71,7 @@ public abstract class AbstractMessageBuf<T> extends AbstractQueue<T> implements
|
||||
throw new IllegalBufferAccessException("refCnt overflow");
|
||||
}
|
||||
|
||||
this.refCnt = refCnt + 1;
|
||||
this.refCnt = refCnt + increment;
|
||||
return this;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user