Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…bel to - rollbackDontClose
  • Loading branch information
Rob Austin committed Dec 22, 2017
1 parent 2868300 commit 22d3068
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -447,8 +447,8 @@ else if (this.cycle != cycle)

headerWriteStrategy.onContextOpen(false, safeLength);

boolean rollbackOnClose = index != wire.headerNumber() + 1;
if (rollbackOnClose) {
boolean rollbackDontClose = index != wire.headerNumber() + 1;
if (rollbackDontClose) {
wire.bytes().writeVolatileInt(wire.bytes().writePosition() - 4, 0);
wire.bytes().writeSkip(-4);
wire.bytes().writeLimit(wire.bytes().capacity());
Expand Down

0 comments on commit 22d3068

Please sign in to comment.