diff options
Diffstat (limited to 'src/Cache.cpp')
-rw-r--r-- | src/Cache.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Cache.cpp b/src/Cache.cpp index bfe27c30..a5d970ca 100644 --- a/src/Cache.cpp +++ b/src/Cache.cpp @@ -1748,9 +1748,11 @@ Cache::runMigrations() combineOlmSessionKeyFromCurveAndSessionId(curveKey, session_id), json); } + olmCursor.close(); oldDb.drop(txn, true); } + dbNames.close(); if (doCommit) txn.commit(); } catch (const lmdb::error &e) { |