Skip to content

Commit

Permalink
fix: explicitly close pool #118 (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonGurney authored Sep 8, 2022
1 parent dd7fa2a commit 57b9a4d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@
)
pool = ThreadPool(processes=args.parallelism)
pool.map(scan, domains)

pool.close()
pool.join()

###### exit
logging.warning(f"\n\nWe found {len(findings)} takeovers ☠️")
Expand Down

0 comments on commit 57b9a4d

Please sign in to comment.