summaryrefslogtreecommitdiff
path: root/src/req_wrap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/req_wrap.h')
-rw-r--r--src/req_wrap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/req_wrap.h b/src/req_wrap.h
index df4ed2ced1..ca8ff53195 100644
--- a/src/req_wrap.h
+++ b/src/req_wrap.h
@@ -48,8 +48,8 @@ class ReqWrap : public AsyncWrap {
~ReqWrap() {
QUEUE_REMOVE(&req_wrap_queue_);
// Assert that someone has called Dispatched()
- assert(req_.data == this);
- assert(!persistent().IsEmpty());
+ CHECK_EQ(req_.data, this);
+ CHECK_EQ(false, persistent().IsEmpty());
persistent().Reset();
}