Fix a rare crash in IOU

Fix #604
pull/625/head
Julien Duponchelle 8 years ago
parent b905760635
commit e0a2553be4
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

@ -663,7 +663,10 @@ class IOUVM(BaseVM):
except asyncio.TimeoutError:
if self._iou_process.returncode is None:
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
if self.is_iouyap_running():

Loading…
Cancel
Save