gr
This commit is contained in:
@@ -80,8 +80,11 @@ class Reader(threading.Thread):
|
|||||||
time.sleep(5)
|
time.sleep(5)
|
||||||
log("Reader.run: error:", e)
|
log("Reader.run: error:", e)
|
||||||
finally:
|
finally:
|
||||||
|
try:
|
||||||
if mic:
|
if mic:
|
||||||
mic.__exit__(None, None, None)
|
mic.__exit__(None, None, None)
|
||||||
|
except Exception:
|
||||||
|
pass
|
||||||
self.outq.put(None)
|
self.outq.put(None)
|
||||||
log("Reader.run: stop")
|
log("Reader.run: stop")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user