struct
FWeakRefControl
Outlives the object it describes: WeakRef points here, not at the object, so releasing the last strong ref cannot leave a weak ref holding freed memory. owner is nulled by ~RefCounted under lock; the block itself is freed by whichever of the object or the last weak ref leaves last.
- Module
- Core
- Header
#include "Core/RefCounted.h"- Namespace
Mowo
Properties
| Type | Name | Description |
|---|---|---|
std::mutex | lock | |
RefCounted* | owner | Default nullptr. |
uint32_t | weakRefs | Default 0. |
Generated from Core/RefCounted.h via core.json · Nov 5, 2026Version 1.0.0