destroy method

Future<void> destroy()

Close all transports on relay manager

Implementation

Future<void> destroy() async {
  await nwc.disconnectAll();
  await _initialization.requests.closeAllSubscription();
  await _initialization.relayManager.closeAllTransports();
}