chore: Remove temporary .flask_secret file when the web UI is being shut down

This commit is contained in:
Théophile Diot 2024-05-30 13:09:27 +01:00
parent 32d4366471
commit cebc9e6199
No known key found for this signature in database
GPG key ID: 248FEA4BAE400D06

View file

@ -134,3 +134,4 @@ def when_ready(server):
def on_exit(server):
RUN_DIR.joinpath("ui.pid").unlink(missing_ok=True)
TMP_DIR.joinpath("ui.healthy").unlink(missing_ok=True)
TMP_DIR.joinpath(".flask_secret").unlink(missing_ok=True)