mirror of
https://github.com/GNS3/gns3-server
synced 2025-01-12 09:00:57 +00:00
Fix a crash in CI, making log impossible to read
This commit is contained in:
parent
879ed9e4e6
commit
64152c1af8
@ -49,6 +49,7 @@ class IOU(BaseManager):
|
|||||||
def close_vm(self, vm_id, *args, **kwargs):
|
def close_vm(self, vm_id, *args, **kwargs):
|
||||||
|
|
||||||
vm = self.get_vm(vm_id)
|
vm = self.get_vm(vm_id)
|
||||||
|
if vm_id in self._used_application_ids:
|
||||||
i = self._used_application_ids[vm_id]
|
i = self._used_application_ids[vm_id]
|
||||||
self._free_application_ids.insert(0, i)
|
self._free_application_ids.insert(0, i)
|
||||||
del self._used_application_ids[vm_id]
|
del self._used_application_ids[vm_id]
|
||||||
|
Loading…
Reference in New Issue
Block a user