master
bel 2023-04-01 10:46:16 -06:00
parent 11789a5c98
commit fa23e396f1
1 changed files with 5 additions and 2 deletions

View File

@ -80,8 +80,11 @@ class Reader(threading.Thread):
time.sleep(5)
log("Reader.run: error:", e)
finally:
try:
if mic:
mic.__exit__(None, None, None)
except Exception:
pass
self.outq.put(None)
log("Reader.run: stop")