1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-24 15:58:08 +00:00

Fix ProcessLookupError in Qemu

Fix #373
This commit is contained in:
Julien Duponchelle 2015-12-07 10:48:57 +01:00
parent a67b218bde
commit f3b71dcdef

View File

@ -915,6 +915,8 @@ class QemuVM(BaseVM):
else:
self._process.terminate()
yield from gns3server.utils.asyncio.wait_for_process_termination(self._process, timeout=3)
except ProcessLookupError:
pass
except asyncio.TimeoutError:
try:
self._process.kill()