Skip to content

Commit

Permalink
Merge pull request apache#662 from TousakaRin/fix_check_failed_in_Wai…
Browse files Browse the repository at this point in the history
…tAndReset

Fix check failed in WaitAndReset
  • Loading branch information
jamesge authored Feb 27, 2019
2 parents 29b7441 + b8a31b9 commit 5cbb586
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/brpc/socket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -746,9 +746,6 @@ int Socket::WaitAndReset(int32_t expected_nref) {
_pipeline_q->clear();
}
}
CHECK(NULL == _write_head.load(butil::memory_order_relaxed));
CHECK_EQ(0, _unwritten_bytes.load(butil::memory_order_relaxed));
CHECK(!_overcrowded);
return 0;
}

Expand Down

0 comments on commit 5cbb586

Please sign in to comment.