From d1540c70b17892e7d59c85e7b43b865a4a600785 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Mon, 8 Jul 2024 17:16:48 -0600 Subject: [PATCH] Clear out all frames when shutting down --- frigate/video.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frigate/video.py b/frigate/video.py index dd44109b3..744635624 100755 --- a/frigate/video.py +++ b/frigate/video.py @@ -153,6 +153,10 @@ def capture_frames( # if the queue is full, skip this frame skipped_eps.update() + # clear out frames + for frame in shm_frames: + frame_manager.delete(frame) + class CameraWatchdog(threading.Thread): def __init__(