Version: 2018.2

DisposeSentinel

class in Unity.Collections.LowLevel.Unsafe

Switch to Manual

Description

DisposeSentinel is used to detect memory leaks.

It becomes available by defining the ENABLE_UNITY_COLLECTIONS_CHECKS symbol.

See Also: the example in NativeContainerAttribute.

Static Functions

ClearClear sentinel.
CreateCreate sentinel.
DisposeDispose safety handle and sentinel.

Delegates

DeallocateDelegateDeallocate delegate.