mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-02 00:33:09 +00:00
Closing pool explicitly may cause some exceptions on certain Pythons, disable for now.
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user