mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-28 11:18:11 +00:00
parent
8abf22ef24
commit
a86bac4214
@ -254,7 +254,10 @@ class VPCSVM(BaseVM):
|
|||||||
except asyncio.TimeoutError:
|
except asyncio.TimeoutError:
|
||||||
if self._process.returncode is None:
|
if self._process.returncode is None:
|
||||||
log.warn("VPCS process {} is still running... killing it".format(self._process.pid))
|
log.warn("VPCS process {} is still running... killing it".format(self._process.pid))
|
||||||
|
try:
|
||||||
self._process.kill()
|
self._process.kill()
|
||||||
|
except OSError as e:
|
||||||
|
raise VPCSError("Can not stop the VPCS process: {}".format(e))
|
||||||
|
|
||||||
self._process = None
|
self._process = None
|
||||||
self._started = False
|
self._started = False
|
||||||
|
Loading…
Reference in New Issue
Block a user