fix db session

This commit is contained in:
jxxghp
2023-09-04 20:40:17 +08:00
parent 712af24a72
commit aca1673ee3
5 changed files with 0 additions and 24 deletions

View File

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