checkLeaks

open suspend override fun checkLeaks()

Trigger garbage collection and determine if any watched references have leaked per this instance's leak policy.

This function is safe to call from any thread.