MCPcopy Create free account
hub / github.com/Vector35/debugger / Release

Method Release

core/refcountobject.h:38–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36 virtual void AddRef() { m_refs.fetch_add(1); }
37
38 virtual void Release()
39 {
40 if (m_refs.fetch_sub(1) == 1)
41 delete this;
42 }
43
44 virtual void AddAPIRef() { AddRef(); }
45

Callers 1

refcountobject.hFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected