mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-18 23:38:17 +00:00
Dynamips devices support (packet capture to complete).
This commit is contained in:
@ -294,8 +294,12 @@ class Router(BaseVM):
|
||||
# router is already closed
|
||||
return
|
||||
|
||||
if self._hypervisor:
|
||||
yield from self.stop()
|
||||
self._hypervisor.devices.remove(self)
|
||||
if self._hypervisor and not self._hypervisor.devices:
|
||||
try:
|
||||
yield from self.stop()
|
||||
except DynamipsError:
|
||||
pass
|
||||
yield from self.hypervisor.stop()
|
||||
|
||||
if self._console:
|
||||
|
Reference in New Issue
Block a user