UnsafeUtility.CheckForLeaks

Declaration

public static int CheckForLeaks();

Returns

int The number of leaks found.

Description

Any memory allocated before this call, that hasn't already been freed, is assumed to have leaked. Prints a list of leaks.


Did you find this page useful? Please give it a rating: