Commit cb9e8c97 authored by zhujiashun's avatar zhujiashun

redis_server_protocol: clear pending closure

parent 927bb77c
...@@ -84,7 +84,7 @@ class RedisConnContext : public SharedObject ...@@ -84,7 +84,7 @@ class RedisConnContext : public SharedObject
public: public:
RedisConnContext() : handler_continue(NULL) {} RedisConnContext() : handler_continue(NULL) {}
~RedisConnContext() { ~RedisConnContext() {
CHECK(dones.empty()); ClearQueue(dones);
} }
// @Destroyable // @Destroyable
void Destroy(); void Destroy();
......
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