stop method

dynamic stop()

Implementation

stop() {
  _sender.cancel();
  _receiver.cancel();
  _socket_server?.close();
  _socket_server = null;
  _deviceManager?.devices.close();
}