We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3afb294 commit a64a9d2Copy full SHA for a64a9d2
1 file changed
meshtastic/ble_interface.py
@@ -218,7 +218,7 @@ def close(self):
218
logging.error(f"Error closing mesh interface: {e}")
219
220
if self._want_receive:
221
- self.want_receive = False # Tell the thread we want it to stop
+ self._want_receive = False # Tell the thread we want it to stop
222
if self._receiveThread:
223
self._receiveThread.join(
224
timeout=2
@@ -230,6 +230,7 @@ def close(self):
230
self.client.disconnect()
231
self.client.close()
232
self.client = None
233
+ self._disconnected() # send the disconnected indicator up to clients
234
235
236
class BLEClient:
0 commit comments