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