Package list python-procrunner / c90bf59
close streams when done reading Markus Gerstel 1 year, 2 months ago
1 changed file(s) with 2 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
131131 else:
132132 if self._closing:
133133 break
134 self._stream.close()
134135 self._terminated = True
135136 la.flush()
136137 if self._debug:
150151 print(linedecode)
151152 if callback:
152153 callback(linedecode)
154 self._stream.close()
153155 self._terminated = True
154156 if self._debug:
155157 logger.debug("Stream reader terminated")