fix missing usage of the new _direct field in ByteBufferAccumulator
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
This commit is contained in:
parent
6dce1cbffd
commit
8aedc50048
|
@ -91,7 +91,7 @@ public class ByteBufferAccumulator implements AutoCloseable
|
|||
ByteBuffer buffer = _buffers.isEmpty() ? BufferUtil.EMPTY_BUFFER : _buffers.get(_buffers.size() - 1);
|
||||
if (BufferUtil.space(buffer) < minSize)
|
||||
{
|
||||
buffer = _bufferPool.acquire(minAllocationSize, false);
|
||||
buffer = _bufferPool.acquire(minAllocationSize, _direct);
|
||||
_buffers.add(buffer);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue