mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-13 06:35:24 +03:00
Clear out all frames when shutting down
This commit is contained in:
parent
f24ba6bfc1
commit
d1540c70b1
@ -153,6 +153,10 @@ def capture_frames(
|
|||||||
# if the queue is full, skip this frame
|
# if the queue is full, skip this frame
|
||||||
skipped_eps.update()
|
skipped_eps.update()
|
||||||
|
|
||||||
|
# clear out frames
|
||||||
|
for frame in shm_frames:
|
||||||
|
frame_manager.delete(frame)
|
||||||
|
|
||||||
|
|
||||||
class CameraWatchdog(threading.Thread):
|
class CameraWatchdog(threading.Thread):
|
||||||
def __init__(
|
def __init__(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user