diff options
author | Kyomotoi <[email protected]> | 2022-06-18 12:49:20 +0800 |
---|---|---|
committer | Kyomotoi <[email protected]> | 2022-06-18 12:49:20 +0800 |
commit | d7f192a887a752f1cc2e336d82dcc15064b5b04c (patch) | |
tree | 8dcdb124309081d7531b5f7a25ddbb658511f9ee /ATRI | |
parent | f2ec04652c0b5baa0625cc6612a8523496dd415e (diff) | |
download | ATRI-d7f192a887a752f1cc2e336d82dcc15064b5b04c.tar.gz ATRI-d7f192a887a752f1cc2e336d82dcc15064b5b04c.tar.bz2 ATRI-d7f192a887a752f1cc2e336d82dcc15064b5b04c.zip |
🐛 解决可能存在的线程卡死
Diffstat (limited to 'ATRI')
-rw-r--r-- | ATRI/plugins/essential.py | 2 |
1 files changed, 2 insertions, 0 deletions
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.") |