From 06ccf7e9e948f1c94f925fe5b665e483041551eb Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Mon, 16 Sep 2024 07:56:20 -0600 Subject: [PATCH] Always close connection to shm frame after detection (#13766) --- frigate/object_detection.py | 1 + 1 file changed, 1 insertion(+) diff --git a/frigate/object_detection.py b/frigate/object_detection.py index 22ff84f89..de383dffa 100644 --- a/frigate/object_detection.py +++ b/frigate/object_detection.py @@ -125,6 +125,7 @@ def run_detector( start.value = datetime.datetime.now().timestamp() detections = object_detector.detect_raw(input_frame) duration = datetime.datetime.now().timestamp() - start.value + frame_manager.close(connection_id) outputs[connection_id]["np"][:] = detections[:] out_events[connection_id].set() start.value = 0.0