MCPcopy Create free account
hub / github.com/apache/brpc / Destroy

Method Destroy

src/brpc/redis.cpp:381–386  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

379RedisConnContext::~RedisConnContext() { }
380
381void RedisConnContext::Destroy() {
382 if (session) {
383 session->Destroy();
384 }
385 delete this;
386}
387
388void RedisConnContext::reset_session(Destroyable* s){
389 if (session) {

Callers 1

reset_sessionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected