mirror of
https://github.com/meshtastic/python.git
synced 2026-09-14 14:28:24 -04:00
the reader thread should be daemon, so failure to close if won't prevent app exit
This commit is contained in:
1 parent
78e70803d7
commit
e7da4093a2
1 file changed
+1
-1
@@ -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