Skip to content
Snippets Groups Projects
Commit 2c2ffeed authored by Paul McCarthy's avatar Paul McCarthy
Browse files

Async TaskThread absorbs errors (typically raised on shutdown).

parent 304e3aa6
No related branches found
No related tags found
No related merge requests found
......@@ -456,6 +456,12 @@ class TaskThread(threading.Thread):
except queue.Empty:
continue
# Any other error typically indicates
# that this is a daemon thread, and
# the TaskThread object has been GC'd
except:
break
finally:
if self.__stop:
break
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment