UnsafeUtility.ForgiveLeaks

Declaration

public static int ForgiveLeaks();

Returns

int The number of leaks forgiven.

Description

Tells the leak checking system to ignore any memory allocations made up to that point - if they leak, they are forgiven.


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