1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-24 17:28:08 +00:00

Fix a rare crash in IOU

Fix #604
This commit is contained in:
Julien Duponchelle 2016-07-04 14:46:06 +02:00
parent b905760635
commit e0a2553be4
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -663,7 +663,10 @@ class IOUVM(BaseVM):
except asyncio.TimeoutError: except asyncio.TimeoutError:
if self._iou_process.returncode is None: if self._iou_process.returncode is None:
log.warn("IOU process {} is still running... killing it".format(self._iou_process.pid)) log.warn("IOU process {} is still running... killing it".format(self._iou_process.pid))
self._iou_process.kill() try:
self._iou_process.kill()
except ProcessLookupError:
pass
self._iou_process = None self._iou_process = None
if self.is_iouyap_running(): if self.is_iouyap_running():