This commit is contained in:
Miroslav Stampar
2022-04-06 22:41:12 +02:00
parent d5fb92ee42
commit 52f2faf2cf
3 changed files with 11 additions and 3 deletions

View File

@@ -62,6 +62,7 @@ class HashDB(object):
threadData = getCurrentThreadData()
try:
if threadData.hashDBCursor:
threadData.hashDBCursor.connection.commit()
threadData.hashDBCursor.close()
threadData.hashDBCursor.connection.close()
threadData.hashDBCursor = None