Removed os._exit call that bypasses finalization

If you're having to os._exit at the end of the program, you've done
something wrong. Fix what you did wrong instead.
This commit is contained in:
George Tsiamasiotis 2024-09-29 00:12:17 +03:00
parent 75d531285a
commit c37e629691

View File

@ -725,5 +725,3 @@ class FrigateApp:
shm = self.detection_shms.pop()
shm.close()
shm.unlink()
os._exit(os.EX_OK)