1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Closing pool explicitly may cause some exceptions on certain Pythons, disable for now.

This commit is contained in:
Michael DeHaan 2012-10-25 09:07:33 -04:00
parent 895715b65b
commit ffca0283b0

View file

@ -565,7 +565,6 @@ class Runner(object):
p = multiprocessing.Pool(self.forks)
try:
result = p.map(_executor_hook, hosts)
p.close()
except KeyboardInterrupt:
p.terminate()
raise errors.AnsibleError("Interrupted")