Commit c5e9d009 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

nghttpx: Fix crash when ConnectionHandler is deleted while doing memcached request

parent c6f9780b
......@@ -115,7 +115,7 @@ MemcachedConnection::MemcachedConnection(const Address *addr,
try_count_(0),
connected_(false) {}
MemcachedConnection::~MemcachedConnection() { disconnect(); }
MemcachedConnection::~MemcachedConnection() { conn_.disconnect(); }
namespace {
void clear_request(std::deque<std::unique_ptr<MemcachedRequest>> &q) {
......
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