MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / ~WeakAssetReferenceBase

Method ~WeakAssetReferenceBase

Source/Engine/Content/Asset.cpp:107–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107WeakAssetReferenceBase::~WeakAssetReferenceBase()
108{
109 Asset* asset = _asset;
110 if (asset)
111 {
112 _asset = nullptr;
113 asset->RemoveReference(this, true);
114 }
115}
116
117String WeakAssetReferenceBase::ToString() const
118{

Callers

nothing calls this directly

Calls 1

RemoveReferenceMethod · 0.45

Tested by

no test coverage detected