mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
HCOLL-167 added resizeBuffer()
This commit is contained in:
@@ -1104,12 +1104,10 @@ class TcpReplicator extends AbstractChannelReplicator implements Closeable {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
if (out.remaining() < sizeInBytes) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
final long nextEntryPos = out.position() + sizeInBytes;
|
||||
final long limit = out.limit();
|
||||
out.limit(nextEntryPos);
|
||||
|
||||
Reference in New Issue
Block a user