From 0280610e96c666d94845c8a31257ddb5125be7ec Mon Sep 17 00:00:00 2001 From: Blake Blackshear Date: Tue, 13 Oct 2020 08:01:06 -0500 Subject: [PATCH] fix detector cleanup --- detect_objects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/detect_objects.py b/detect_objects.py index c3bdc04ef..015c85ece 100644 --- a/detect_objects.py +++ b/detect_objects.py @@ -312,7 +312,7 @@ def main(): shm.close() shm.unlink() - for detector in detectors: + for detector in detectors.values(): detector.stop() for shm in camera_shms: shm.close()