prepareForLeakDetection

suspend fun prepareForLeakDetection(mode: CommandMode = CommandMode.DEFAULT)

Prepares for leak detection by terminating workers, stopping spellcheckers, dropping non-essential internal caches, running garbage collections, etc.