Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cginternals/globjects
/ unref
Method
unref
source/globjects/source/base/Referenced.cpp:24–32 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
22
}
23
24
void Referenced::unref() const
25
{
26
assert(m_refCounter > 0);
27
28
--m_refCounter;
29
30
if (m_refCounter <= 0)
31
destroy();
32
}
33
34
int Referenced::refCounter() const
35
{
Callers
10
TEST_F
Function · 0.80
deinitialize
Function · 0.80
deinitialize
Function · 0.80
deinitialize
Function · 0.80
deinitialize
Function · 0.80
deinitialize
Function · 0.80
deinitialize
Function · 0.80
deinitialize
Function · 0.80
deinitialize
Function · 0.80
deinitialize
Function · 0.80
Calls
no outgoing calls
Tested by
1
TEST_F
Function · 0.64