the reader thread should be daemon, so failure to close if won't prevent app exit

This commit is contained in:
Kevin Hester committed 2020-12-09 08:44:22 +08:00
1 parent 78e70803d7
commit e7da4093a2
1 file changed
+1 -1
+1 -1
View File
@@ -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)