We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e71e85 commit 111d61eCopy full SHA for 111d61e
meshtastic/ble_interface.py
@@ -205,7 +205,7 @@ def close(self):
205
206
if self._want_receive:
207
self.want_receive = False # Tell the thread we want it to stop
208
- self._receiveThread.join()
+ self._receiveThread.join(timeout=2) # If bleak is hung, don't wait for the thread to exit (it is critical we disconnect)
209
self._receiveThread = None
210
211
if self.client:
0 commit comments