mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-24 15:58:08 +00:00
parent
a67b218bde
commit
f3b71dcdef
@ -915,6 +915,8 @@ class QemuVM(BaseVM):
|
|||||||
else:
|
else:
|
||||||
self._process.terminate()
|
self._process.terminate()
|
||||||
yield from gns3server.utils.asyncio.wait_for_process_termination(self._process, timeout=3)
|
yield from gns3server.utils.asyncio.wait_for_process_termination(self._process, timeout=3)
|
||||||
|
except ProcessLookupError:
|
||||||
|
pass
|
||||||
except asyncio.TimeoutError:
|
except asyncio.TimeoutError:
|
||||||
try:
|
try:
|
||||||
self._process.kill()
|
self._process.kill()
|
||||||
|
Loading…
Reference in New Issue
Block a user