This version of Unity is unsupported.

DisposeSentinel.Dispose

Parameters

safetyThe AtomicSafetyHandle returned when invoking Create.
sentinelThe DisposeSentinel.

Description

Releases the AtomicSafetyHandle and clears the DisposeSentinel.

In case the AtomicSafetyHandle cannot be released, which usually happens either because a Job is accessing the data or because the handle has already been released, an exception is thrown.