提交 b0b3144e 编写于 作者: W wuzewu

Fix the problem that the `processing` interface does not exit when the main thread crash.

上级 32023f78
...@@ -139,6 +139,7 @@ class Logger(object): ...@@ -139,6 +139,7 @@ class Logger(object):
index += 1 index += 1
t = threading.Thread(target=_printer) t = threading.Thread(target=_printer)
t.daemon = True
t.start() t.start()
yield yield
end = True end = True
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册