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