mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 14:01:15 +02:00
Fixes module unload.
This commit is contained in:
1 parent
4848eeabad
commit
4f2764c0b4
2 files changed
+3
-2
No files matched your search
@@ -99,9 +99,10 @@ class BaseManager:
|
||||
|
||||
for uuid in self._vms.keys():
|
||||
try:
|
||||
self.delete_vm(uuid)
|
||||
yield from self.delete_vm(uuid)
|
||||
except Exception as e:
|
||||
log.warn("Could not delete VM {}: {}".format(uuid, e))
|
||||
continue
|
||||
|
||||
if hasattr(BaseManager, "_instance"):
|
||||
BaseManager._instance = None
|
||||
|
||||
Reference in new issue
Block a user