Commit cdac9d0a authored by Joel Collins's avatar Joel Collins
Browse files

Fixed BytesIO streams closing after capture

parent 387fdeeb
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -195,6 +195,7 @@ class MockStreamer(BaseCamera):

            output.write(self.stream.getvalue())

            if isinstance(output, str):
                output.close()

    # HANDLE STREAM FRAMES