Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tencent/tgfx
/ releaseReference
Method
releaseReference
src/gpu/UniqueDomain.cpp:44–48 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
42
}
43
44
void UniqueDomain::releaseReference() {
45
if (_useCount.fetch_add(-1, std::memory_order_acq_rel) <= 1) {
46
delete this;
47
}
48
}
49
} // namespace tgfx
Callers
4
~UniqueKey
Method · 0.80
ResourceKey.cpp
File · 0.80
get
Method · 0.80
reset
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected