[!] Fix ThreadPoolExecutor
This commit is contained in:
@@ -434,8 +434,8 @@ class VMKer:
|
||||
vm = self._clone(nn, destfolder, clone_spec)
|
||||
self._configure(vm)
|
||||
|
||||
for new_name in new_names:
|
||||
with ThreadPoolExecutor(max_workers=2) as executor:
|
||||
with ThreadPoolExecutor(max_workers=2) as executor:
|
||||
for new_name in new_names:
|
||||
executor.submit(_caf, new_name)
|
||||
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user