[#3740] Add missing parentheses so the fix works as expected.
This commit is contained in:
parent
71f2e23633
commit
d9ca3a01f1
@ -192,8 +192,8 @@ public final class ChannelOutboundBuffer {
|
||||
}
|
||||
|
||||
long newWriteBufferSize = TOTAL_PENDING_SIZE_UPDATER.addAndGet(this, -size);
|
||||
if (notifyWritability && newWriteBufferSize == 0
|
||||
|| newWriteBufferSize <= channel.config().getWriteBufferLowWaterMark()) {
|
||||
if (notifyWritability && (newWriteBufferSize == 0
|
||||
|| newWriteBufferSize <= channel.config().getWriteBufferLowWaterMark())) {
|
||||
setWritable(invokeLater);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user