1
0
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:
Julien Duponchelle 2016-09-08 18:36:32 +02:00
parent 84c0a17572
commit de2dad20d5
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -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")