MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / clearWeakReferences

Method clearWeakReferences

Engine/source/core/util/refBase.h:419–427  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

417//---------------------------------------------------------------
418
419inline void WeakRefBase::clearWeakReferences()
420{
421 if (mReference)
422 {
423 mReference->mObject = NULL;
424 mReference->decRefCount();
425 mReference = NULL;
426 }
427}
428
429inline WeakRefBase::WeakReference * WeakRefBase::getWeakReference()
430{

Callers

nothing calls this directly

Calls 1

decRefCountMethod · 0.45

Tested by

no test coverage detected