diff --git a/src/main.py b/src/main.py index 48017f0..b9a020f 100644 --- a/src/main.py +++ b/src/main.py @@ -549,7 +549,9 @@ async def run(settings: Settings) -> None: except TimeoutError: pass # Normal — timeout means it's time for next cycle finally: + # Clean up resources await broker.close() + await telegram.close() db_conn.close() logger.info("The Ouroboros rests.")