ReferenceDebug

debug.resetmemorycategory

Restores the thread’s automatically assigned memory-category tag. It does not collect garbage or free all allocations attributed to the tag.

Syntax

debug.resetmemorycategory() -> ()

Description

This function is inherited from the selected engine. Apex does not implement a replacement when the engine refuses the operation.

Example

debug.setmemorycategory("Example")
debug.resetmemorycategory()

These are Game executor contracts. Check build requirements and session lifetimes before using them.