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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/req_wrap.h b/src/req_wrap.h
index 304b1a49a9..56d63eb711 100644
--- a/src/req_wrap.h
+++ b/src/req_wrap.h
@@ -53,7 +53,7 @@ class ReqWrap : public AsyncWrap {
// Assert that someone has called Dispatched()
assert(req_.data == this);
assert(!persistent().IsEmpty());
- persistent().Dispose();
+ persistent().Reset();
}
// Call this after the req has been dispatched.