try and ensure database closes cleanly

This commit is contained in:
Blake Blackshear
2021-02-07 08:41:06 -06:00
parent 6a0f990f0a
commit 19f07c5142
+1
View File
@@ -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()