fix detector cleanup

This commit is contained in:
Blake Blackshear 2020-10-13 08:01:06 -05:00
parent 4363623c45
commit 0280610e96

View File

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