fix db session

This commit is contained in:
jxxghp
2023-09-09 20:56:37 +08:00
parent a7a0889867
commit 9b17d55ac0
8 changed files with 18 additions and 0 deletions

View File

@ -106,3 +106,5 @@ class Scheduler(metaclass=Singleton):
"""
if self._scheduler.running:
self._scheduler.shutdown()
if self._db:
self._db.close()