mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-08-02 17:12:16 +03:00
fix detector cleanup
This commit is contained in:
+1
-1
@@ -312,7 +312,7 @@ def main():
|
|||||||
shm.close()
|
shm.close()
|
||||||
shm.unlink()
|
shm.unlink()
|
||||||
|
|
||||||
for detector in detectors:
|
for detector in detectors.values():
|
||||||
detector.stop()
|
detector.stop()
|
||||||
for shm in camera_shms:
|
for shm in camera_shms:
|
||||||
shm.close()
|
shm.close()
|
||||||
|
|||||||
Reference in New Issue
Block a user