summaryrefslogtreecommitdiff
path: root/python2/futures/thread.py
diff options
context:
space:
mode:
Diffstat (limited to 'python2/futures/thread.py')
-rw-r--r--python2/futures/thread.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python2/futures/thread.py b/python2/futures/thread.py
index 4928342..4071574 100644
--- a/python2/futures/thread.py
+++ b/python2/futures/thread.py
@@ -97,8 +97,8 @@ def _worker(executor_reference, work_queue):
except Queue.Empty:
executor = executor_reference()
# Exit if:
- # - The interpreter is shutting down.
- # - The executor that owns the worker has been collected.
+ # - The interpreter is shutting down OR
+ # - The executor that owns the worker has been collected OR
# - The executor that owns the worker has been shutdown.
if _shutdown or executor is None or executor._shutdown:
return