Companion
object Companion
Functions
Link copied to clipboard
fun timeBased(listener: LeakListener, timeSource: TimeSource, leakThreshold: Duration): LeakDetector
Create a time-based LeakDetector which reports leaks to listener if watched references have not been garbage collected before the leakThreshold.