prepareForLeakDetection method

Future<void> prepareForLeakDetection()

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

Implementation

Future<void> prepareForLeakDetection() async {
  await _client.send('Memory.prepareForLeakDetection');
}