MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / release

Method release

Source/Basic/Object.cpp:45–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43 , _refCount(1) { }
44
45void Weak::release() {
46 --_refCount;
47 if (_refCount == 0) {
48 delete this;
49 }
50}
51
52void Weak::retain() {
53 ++_refCount;

Callers 14

unscheduleMethod · 0.45
unscheduleFixedMethod · 0.45
cleanupMethod · 0.45
loadAsyncMethod · 0.45
unloadFunction · 0.45
~RefFunction · 0.45
operator=Function · 0.45
Ref.hFile · 0.45
~WRefFunction · 0.45
operator=Function · 0.45
WRef.hFile · 0.45
tolua_collect_objectFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected