Version: 2022.3
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.