Commit cb9e8c97 authored by zhujiashun's avatar zhujiashun

redis_server_protocol: clear pending closure

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