mirror of
https://github.com/meshtastic/python.git
synced 2026-01-19 21:28:07 -05:00
the reader thread should be daemon, so failure to close if won't prevent app exit
This commit is contained in:
@@ -563,7 +563,7 @@ class StreamInterface(MeshInterface):
|
||||
self._rxBuf = bytes() # empty
|
||||
self._wantExit = False
|
||||
|
||||
self._rxThread = threading.Thread(target=self.__reader, args=())
|
||||
self._rxThread = threading.Thread(target=self.__reader, args=(), daemon=True)
|
||||
|
||||
MeshInterface.__init__(self, debugOut=debugOut, noProto=noProto)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user