forked from Github/frigate
fix detector cleanup
This commit is contained in:
@@ -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