mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-15 15:45:27 +03:00
Always call FrigateApp.stop()
This commit is contained in:
parent
51b084e3dd
commit
40bda61f2e
@ -655,12 +655,8 @@ class FrigateApp:
|
|||||||
self.external_event_processor,
|
self.external_event_processor,
|
||||||
self.stats_emitter,
|
self.stats_emitter,
|
||||||
).run(host="127.0.0.1", port=5001, debug=False, threaded=True)
|
).run(host="127.0.0.1", port=5001, debug=False, threaded=True)
|
||||||
except KeyboardInterrupt:
|
finally:
|
||||||
pass
|
self.stop()
|
||||||
|
|
||||||
logger.info("Flask has exited...")
|
|
||||||
|
|
||||||
self.stop()
|
|
||||||
|
|
||||||
def stop(self) -> None:
|
def stop(self) -> None:
|
||||||
logger.info("Stopping...")
|
logger.info("Stopping...")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user