Version: 2022.2
public static int ForgiveLeaks ();

返回

int The number of leaks forgiven.

描述

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