Fix a rare crash in IOU

Fix #604
This commit is contained in:
Julien Duponchelle committed 2016-07-04 14:46:06 +02:00
1 parent b905760635
commit e0a2553be4
1 file changed
+4 -1
+4 -1
View File
@@ -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():