CheckForLeaks()
Gets a list of memory leaks.
Read time 1 minuteLast updated 17 days ago
Definition
- Type: Method
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.CoreModule
public static int CheckForLeaks()
Returns
Type | Description |
|---|---|
| int | The number of leaks found. |
Remarks
Any memory allocated before this call that hasn't already been freed, is assumed to have leaked.