diff --git a/paddlehub/utils/log.py b/paddlehub/utils/log.py index 092063adf0acd5b28b362dd7049c760284fbe1a3..7d4f72df1092d76cd6c83466176922c96f3a03aa 100644 --- a/paddlehub/utils/log.py +++ b/paddlehub/utils/log.py @@ -139,6 +139,7 @@ class Logger(object): index += 1 t = threading.Thread(target=_printer) + t.daemon = True t.start() yield end = True