From d7f192a887a752f1cc2e336d82dcc15064b5b04c Mon Sep 17 00:00:00 2001 From: Kyomotoi Date: Sat, 18 Jun 2022 12:49:20 +0800 Subject: =?UTF-8?q?=F0=9F=90=9B=20=E8=A7=A3=E5=86=B3=E5=8F=AF=E8=83=BD?= =?UTF-8?q?=E5=AD=98=E5=9C=A8=E7=9A=84=E7=BA=BF=E7=A8=8B=E5=8D=A1=E6=AD=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ATRI/plugins/essential.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ATRI') diff --git a/ATRI/plugins/essential.py b/ATRI/plugins/essential.py index d1c8e09..06f56eb 100644 --- a/ATRI/plugins/essential.py +++ b/ATRI/plugins/essential.py @@ -78,6 +78,8 @@ async def startup(): async def shutdown(): await close_database_connection() + scheduler.shutdown(False) + log.info("Thanks for using.") -- cgit v1.2.3