# UnmanagedUnregister<T>(ref T)

> Removes an allocator's function pointers from the global function table, without managed code

## Definition

* **Type:** Method
* **Namespace:** [Unity.Collections](/engine/6000.7/script-reference/unity/collections.md)
* **Assembly:** UnityEngine.ManagedKernelModule

## UnmanagedUnregister\<T>(T)

```csharp
public static void UnmanagedUnregister<T>(this ref T t) where T : unmanaged, AllocatorManager.IAllocator
```

### Parameters

**** (T): Reference to the allocator.
