Skip to content

Commit

Permalink
fix: Force process termination (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
xmnlab authored Aug 12, 2024
1 parent e0cb40c commit 0e4f088
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/retsu/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def stop(self) -> None:

for i in range(self.workers):
p = self.processes[i]
p.terminate()
p.join()

# self.queue_in.close()
Expand Down

0 comments on commit 0e4f088

Please sign in to comment.