mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
try and ensure database closes cleanly
This commit is contained in:
parent
165ca8fbc7
commit
01c3b4fa6e
@ -252,6 +252,7 @@ class FrigateApp():
|
|||||||
self.recording_maintainer.join()
|
self.recording_maintainer.join()
|
||||||
self.stats_emitter.join()
|
self.stats_emitter.join()
|
||||||
self.frigate_watchdog.join()
|
self.frigate_watchdog.join()
|
||||||
|
self.db.stop()
|
||||||
|
|
||||||
for detector in self.detectors.values():
|
for detector in self.detectors.values():
|
||||||
detector.stop()
|
detector.stop()
|
||||||
|
Loading…
Reference in New Issue
Block a user