Clear out all frames when shutting down

This commit is contained in:
Nicolas Mowen 2024-07-08 17:16:48 -06:00
parent f24ba6bfc1
commit d1540c70b1

View File

@ -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__(