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

pull/1648/head
Michael DeHaan 12 years ago
parent 895715b65b
commit ffca0283b0

@ -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")

Loading…
Cancel
Save