Navigation
API > API/Runtime > API/Runtime/Core
Base class for objects in TLS that support auto-cleanup. Polymorphically deletes registered instances on thread exit.
| Name | FTlsAutoCleanup |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/HAL/TlsAutoCleanup.h |
| Include Path | #include "HAL/TlsAutoCleanup.h" |
Syntax
class FTlsAutoCleanup
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FTlsAutoCleanup() |
Virtual destructor. | HAL/TlsAutoCleanup.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Register() |
Register this instance to be auto-cleanup. | HAL/TlsAutoCleanup.h |