[fix] Catch error while closing stream in NonBlockingStreamReader

This commit is contained in:
Jérôme Lebleu 2014-07-28 22:04:09 +02:00
parent 56c1cfec06
commit 19b28d43d0

View file

@ -52,4 +52,7 @@ class NonBlockingStreamReader:
def close(self):
"""Close the stream"""
self._s.close()
try:
self._s.close()
except IOError:
pass