MCPcopy 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
44void UniqueDomain::releaseReference() {
45 if (_useCount.fetch_add(-1, std::memory_order_acq_rel) <= 1) {
46 delete this;
47 }
48}
49} // namespace tgfx

Callers 4

~UniqueKeyMethod · 0.80
ResourceKey.cppFile · 0.80
getMethod · 0.80
resetMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected