shutdown method

Future<void> shutdown()

Disconnects from the Haveno daemon and shuts down the gRPC channel.

Implementation

Future<void> shutdown() async {
  if (!isConnected) {
    return; // Not connected, do nothing.
  }
  await _channel!.shutdown();
  _resetClients();
}