修复无法自动解密(解密报错的问题)
This commit is contained in:
1 parent
d2f37eba5b
commit
b9abf401f9
4 files changed
+83
-52
No files matched your search
@@ -69,6 +69,13 @@ class DatabaseBase:
|
||||
logging.info(f"关闭数据库 - {self._db_path}")
|
||||
self._db_connection = None
|
||||
|
||||
def close_all_connection(self):
|
||||
for db_path in self._connection_pool:
|
||||
if self._connection_pool[db_path]:
|
||||
self._connection_pool[db_path].close()
|
||||
logging.info(f"关闭数据库 - {db_path}")
|
||||
self._connection_pool[db_path] = None
|
||||
|
||||
def show__singleton_instances(self):
|
||||
print(self._singleton_instances)
|
||||
|
||||
|
||||
Reference in new issue
Block a user