mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-10-23 19:32:24 +03: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…
x
Reference in New Issue
Block a user