# Clear(ref DisposeSentinel)

> Clears the DisposeSentinel.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Collections.LowLevel.Unsafe](/engine/6000.0/script-reference/unity/collections/lowlevel/unsafe.md)
* **Assembly:** UnityEngine.CoreModule

## Clear(DisposeSentinel)

```csharp
public static void Clear(ref DisposeSentinel sentinel)
```

### Parameters

**** (\[DisposeSentinel]\(/engine/6000.0/script-reference/unity/collections/lowlevel/unsafe/disposesentinel)): The `DisposeSentinel` to clear.

### Remarks

A `DisposeSentinel` is usually cleared when the related `NativeContainer` is disposed.
