Documentation

Unity Engine

Unity Engine

CheckForLeaks()

Gets a list of memory leaks.
Read time 1 minuteLast updated a month ago

Definition

public static int CheckForLeaks()

Returns

Type

Description

intThe number of leaks found.

Remarks

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