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

@@ -181,6 +181,8 @@ class Command(metaclass=Singleton):
"""
self._event.set()
self._thread.join()
if self._db:
self._db.close()
def get_commands(self):
"""