From 01c3b4fa6ee56e0cc0ce258c757d0a676ac08a5b Mon Sep 17 00:00:00 2001 From: Blake Blackshear Date: Sun, 7 Feb 2021 08:38:35 -0600 Subject: [PATCH] try and ensure database closes cleanly --- frigate/app.py | 1 + 1 file changed, 1 insertion(+) diff --git a/frigate/app.py b/frigate/app.py index ec4d9278c..f4032bc59 100644 --- a/frigate/app.py +++ b/frigate/app.py @@ -252,6 +252,7 @@ class FrigateApp(): self.recording_maintainer.join() self.stats_emitter.join() self.frigate_watchdog.join() + self.db.stop() for detector in self.detectors.values(): detector.stop()