Skip to content

Commit

Permalink
Do not wait in process pool shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillgarbar committed Sep 18, 2024
1 parent 49aff92 commit 00f1eee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,4 @@ def __del__(self) -> None:
"""
Shutdown pool explicitly to prevent the program from hanging in case of ungraceful termination.
"""
self.shutdown()
self.shutdown(graceful=False)

0 comments on commit 00f1eee

Please sign in to comment.