Version: 2019.1

AtomicSafetyHandle.CheckDeallocateAndThrow

Switch to Manual
public static void CheckDeallocateAndThrow (Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle handle);

Parameters

handleSafety handle.

Description

Checks if the handle can be deallocated. Throws an exception if it has already been destroyed or a job is currently accessing the data.