mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-11-16 16:54:51 +02:00
Fix a crash at vmware stop
Fix https://github.com/GNS3/gns3-gui/issues/665
This commit is contained in:
parent
bb080fa96a
commit
b1f3210a4c
@ -469,7 +469,7 @@ class VMwareVM(BaseVM):
|
||||
if not self.manager.is_managed_vmnet(vmnet):
|
||||
continue
|
||||
log.debug("removing adapter {}".format(adapter_number))
|
||||
for key in self._vmx_pairs.keys():
|
||||
for key in list(self._vmx_pairs.keys()):
|
||||
if key.startswith("ethernet{}.".format(adapter_number)):
|
||||
del self._vmx_pairs[key]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user