Commit 805f0c07 authored by Iustin Pop's avatar Iustin Pop
Browse files

cleanup: WorkerPool, wrong variable name

Quoting Michael: "why is this even working?"

Reviewed-by: imsnah,amishchenko
parent 0b5ad33e
...@@ -214,7 +214,7 @@ class WorkerPool(object): ...@@ -214,7 +214,7 @@ class WorkerPool(object):
""" """
self._lock.acquire() self._lock.acquire()
try: try:
return self._ShouldWorkerTerminateUnlocked(self) return self._ShouldWorkerTerminateUnlocked(worker)
finally: finally:
self._lock.release() self._lock.release()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment