stop static method

void stop()

Stops leak tracking for the application.

See usage guidance at https://github.com/dart-lang/leak_tracker.

Implementation

static void stop() {
  assert(() {
    _leakTracker?.dispose();
    _leakTracker = null;
    Baseliner.finishOldAndStartNew(_baseliner, null);
    return true;
  }());
}