stop method

void stop()

Stops the DarwinSystem and exits the process if exitProcessOnStop is set to true.

Implementation

void stop() async {
  if (isShuttingDown) return;
  _isShuttingDown = true;
  await _system!.stop();
}