mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-01 04:38:12 +00:00
parent
84a6ed7684
commit
233a5fbed4
@ -201,7 +201,10 @@ class Hypervisor(UBridgeHypervisor):
|
|||||||
except asyncio.TimeoutError:
|
except asyncio.TimeoutError:
|
||||||
if self._process.returncode is None:
|
if self._process.returncode is None:
|
||||||
log.warn("uBridge process {} is still running... killing it".format(self._process.pid))
|
log.warn("uBridge process {} is still running... killing it".format(self._process.pid))
|
||||||
|
try:
|
||||||
self._process.kill()
|
self._process.kill()
|
||||||
|
except ProcessLookupError:
|
||||||
|
pass
|
||||||
|
|
||||||
if self._stdout_file and os.access(self._stdout_file, os.W_OK):
|
if self._stdout_file and os.access(self._stdout_file, os.W_OK):
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user