Navigation
API > API/Runtime > API/Runtime/ChaosCore > API/Runtime/ChaosCore/Chaos > API/Runtime/ChaosCore/Chaos/TObjectPool
References
| Module | ChaosCore |
| Header | /Engine/Source/Runtime/Experimental/ChaosCore/Public/Chaos/ObjectPool.h |
| Include | #include "Chaos/ObjectPool.h" |
void Free
&40;
FPtr Object
&41;
Remarks
Free a single object provided by this pool Takes an object previously allocated in this pool and frees it, accessing the pointer beyond a call to free is an undefined operation and could return garbage or an entirely different object. Avoiding this case is the responsibility of the caller Behavior is also undefined if an object not owned by this pool is passed to Free. Outside of debug this will not be asserted
Parameters
| Name | Description |
|---|---|
| Object | The object to free |