nghttpx: Fix crash when ConnectionHandler is deleted while doing memcached request
This commit is contained in:
parent
c6f9780b1b
commit
c5e9d0096a
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue