diff --git a/docs/meshtastic/index.html b/docs/meshtastic/index.html index 7bccb86..a6a0d41 100644 --- a/docs/meshtastic/index.html +++ b/docs/meshtastic/index.html @@ -1291,7 +1291,10 @@ class TCPInterface(StreamInterface): # the socket here self._wantExit = True if not self.socket is None: - self.socket.shutdown(socket.SHUT_RDWR) + try: + self.socket.shutdown(socket.SHUT_RDWR) + except: + pass # Ignore errors in shutdown, because we might have a race with the server self.socket.close() def _writeBytes(self, b): @@ -3418,7 +3421,10 @@ hostname {string} – Hostname/IP address of the device to connect to