Leak Detector
Watch references and detect when they leak.
Types
Functions
Link copied to clipboard
Suspend until all current watched references are either collected or detected as a leak, and throw an exception for any new calls to watchReference.
Link copied to clipboard
Immediately stop all leak detection of current watched references, and throw an exception for any new calls to watchReference.
Link copied to clipboard
Add reference as a watched instance that is expected to be garbage collected soon.