mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-09-05 20:52:21 -07:00
Closing pool explicitly may cause some exceptions on certain Pythons, disable for now.
This commit is contained in:
parent
895715b65b
commit
ffca0283b0
1 changed files with 0 additions and 1 deletions
|
@ -565,7 +565,6 @@ class Runner(object):
|
||||||
p = multiprocessing.Pool(self.forks)
|
p = multiprocessing.Pool(self.forks)
|
||||||
try:
|
try:
|
||||||
result = p.map(_executor_hook, hosts)
|
result = p.map(_executor_hook, hosts)
|
||||||
p.close()
|
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
p.terminate()
|
p.terminate()
|
||||||
raise errors.AnsibleError("Interrupted")
|
raise errors.AnsibleError("Interrupted")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue