Skip to content

Commit 633cc2e

Browse files
committed
fix: try to avoid wait on process pool shutdown
1 parent bfddd21 commit 633cc2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/cocoindex/subprocess_exec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def shutdown_pool_at_exit() -> None:
4545
if _pool is not None:
4646
try:
4747
print("Before shutdown")
48-
_pool.shutdown(wait=True, cancel_futures=True)
48+
_pool.shutdown(cancel_futures=True)
4949
print("After shutdown")
5050
except Exception as e:
5151
_logger.error(

0 commit comments

Comments
 (0)