master
parent
11789a5c98
commit
fa23e396f1
|
|
@ -80,8 +80,11 @@ class Reader(threading.Thread):
|
|||
time.sleep(5)
|
||||
log("Reader.run: error:", e)
|
||||
finally:
|
||||
if mic:
|
||||
mic.__exit__(None, None, None)
|
||||
try:
|
||||
if mic:
|
||||
mic.__exit__(None, None, None)
|
||||
except Exception:
|
||||
pass
|
||||
self.outq.put(None)
|
||||
log("Reader.run: stop")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue