Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
379
RedisConnContext::~RedisConnContext() { }
380
381
void RedisConnContext::Destroy() {
382
if (session) {
383
session->Destroy();
384
}
385
delete this;
386
}
387
388
void RedisConnContext::reset_session(Destroyable* s){
389
if (session) {
Callers
1
reset_session
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected