MCPcopy Create free account
hub / github.com/cginternals/globjects / detach

Method detach

source/globjects/source/Object.cpp:73–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73void Object::detach()
74{
75 if (!m_resource)
76 return;
77
78 ObjectRegistry::current().deregisterObject(this);
79
80 delete m_resource;
81 m_resource = new InvalidResource();
82}
83
84
85} // namespace globjects

Callers 4

detachAllObjectsFunction · 0.45
iFunction · 0.45
bootstrap.min.jsFile · 0.45
oFunction · 0.45

Calls 1

deregisterObjectMethod · 0.80

Tested by

no test coverage detected