stopGarbageCollector static method

void stopGarbageCollector()

Stops automated periodic garbage collection.

Implementation

static void stopGarbageCollector() {
  _gcTimer?.cancel();
  _gcTimer = null;
}