From c37e62969159986b4aff69130450ecfa947c937c Mon Sep 17 00:00:00 2001 From: George Tsiamasiotis Date: Sun, 29 Sep 2024 00:12:17 +0300 Subject: [PATCH] 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. --- frigate/app.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/frigate/app.py b/frigate/app.py index a04c4737e..396c5afe7 100644 --- a/frigate/app.py +++ b/frigate/app.py @@ -725,5 +725,3 @@ class FrigateApp: shm = self.detection_shms.pop() shm.close() shm.unlink() - - os._exit(os.EX_OK)