mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-15 12:59:06 +00:00
Renable sleep at Vbox exit bug seem to be back
Fix https://github.com/GNS3/gns3-gui/issues/1444
This commit is contained in:
parent
84c0a17572
commit
de2dad20d5
@ -250,7 +250,7 @@ class VirtualBoxVM(BaseVM):
|
|||||||
log.debug("Stop result: {}".format(result))
|
log.debug("Stop result: {}".format(result))
|
||||||
|
|
||||||
log.info("VirtualBox VM '{name}' [{id}] stopped".format(name=self.name, id=self.id))
|
log.info("VirtualBox VM '{name}' [{id}] stopped".format(name=self.name, id=self.id))
|
||||||
# yield from asyncio.sleep(0.5) # give some time for VirtualBox to unlock the VM
|
yield from asyncio.sleep(0.5) # give some time for VirtualBox to unlock the VM
|
||||||
try:
|
try:
|
||||||
# deactivate the first serial port
|
# deactivate the first serial port
|
||||||
yield from self._modify_vm("--uart1 off")
|
yield from self._modify_vm("--uart1 off")
|
||||||
|
Loading…
Reference in New Issue
Block a user