Unverified Commit 5cbb586a authored by Ge Jun's avatar Ge Jun Committed by GitHub

Merge pull request #662 from TousakaRin/fix_check_failed_in_WaitAndReset

Fix check failed in WaitAndReset
parents 29b74413 b8a31b96
...@@ -746,9 +746,6 @@ int Socket::WaitAndReset(int32_t expected_nref) { ...@@ -746,9 +746,6 @@ int Socket::WaitAndReset(int32_t expected_nref) {
_pipeline_q->clear(); _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; return 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment