Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/brpc
/ SelfDestruct
Method
SelfDestruct
test/ref_counted_unittest.cc:31–31 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
29
static bool was_destroyed() { return was_destroyed_; }
30
31
void SelfDestruct() { self_ptr_ = NULL; }
32
33
private:
34
friend class butil::RefCounted<ScopedRefPtrToSelf>;
Callers
1
TEST
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected