checkLeaks

abstract suspend 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.