concurrency: fix extra update of progressbar

This commit is contained in:
James R. Barlow
2021-12-19 11:34:09 -08:00
parent dbfceba020
commit 1a58abcc6a
@@ -134,7 +134,6 @@ class StandardExecutor(Executor):
for future in as_completed(futures):
result = future.result()
task_finished(result, pbar)
pbar.update()
except KeyboardInterrupt:
# Terminate pool so we exit instantly
executor.shutdown(wait=False, cancel_futures=True)