From 567934f3ef5fafbe821ab34c017f5c73f3478751 Mon Sep 17 00:00:00 2001 From: Vin Howe <24789592+vinhowe@users.noreply.github.com> Date: Tue, 27 Jul 2021 11:16:54 -0600 Subject: [PATCH] Rename atexit fn to something that makes more sense --- footron_controller/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/footron_controller/api.py b/footron_controller/api.py index c495e89..a84ce45 100644 --- a/footron_controller/api.py +++ b/footron_controller/api.py @@ -220,7 +220,7 @@ async def set_release(id: str, body: SetExperienceReleaseBody): @atexit.register -def on_shutdown(): +def cleanup(): # TODO: Handle closing in the middle of a transition (keep track of all running # experiences in a dict or something)