mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Should fix ProcessLookupError exceptions.
This commit is contained in:
1 parent
1610067eee
commit
223f3ee705
5 files changed
+21
-16
No files matched your search
@@ -245,9 +245,9 @@ class VPCSVM(BaseVM):
|
||||
try:
|
||||
yield from asyncio.wait_for(self._process.wait(), timeout=3)
|
||||
except asyncio.TimeoutError:
|
||||
self._process.kill()
|
||||
if self._process.returncode is None:
|
||||
log.warn("VPCS process {} is still running".format(self._process.pid))
|
||||
log.warn("VPCS process {} is still running... killing it".format(self._process.pid))
|
||||
self._process.kill()
|
||||
|
||||
self._process = None
|
||||
self._started = False
|
||||
|
||||
Reference in new issue
Block a user