From 028596a80e04e75d764693097e54725c30373814 Mon Sep 17 00:00:00 2001 From: Joel Collins Date: Tue, 6 Nov 2018 18:39:06 +0000 Subject: [PATCH] Added TODO --- openflexure_microscope/camera/pi.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openflexure_microscope/camera/pi.py b/openflexure_microscope/camera/pi.py index 27029bb9..b28ed76a 100644 --- a/openflexure_microscope/camera/pi.py +++ b/openflexure_microscope/camera/pi.py @@ -98,9 +98,10 @@ class StreamingCamera(BaseCamera): pass # HANDLE CONTEXT MANAGER AND FILE CLOSING - + def close(self): # Close all StreamObjects + #TODO: Figure out why this is so slow. for capture_list in [self.images, self.videos]: for stream_object in capture_list: stream_object.close()