summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorJoseph Donofry <rubberduckie3554@gmail.com>2022-04-14 19:23:12 -0400
committerJoseph Donofry <rubberduckie3554@gmail.com>2022-04-14 19:23:12 -0400
commitf688e1537913beff6d4a8ac5e184790ccf93c7ec (patch)
treed9500ced5f955c24497f6d24b2d46c4be1480fe0 /src
parentCleanup some random dbus stuff (diff)
downloadnheko-f688e1537913beff6d4a8ac5e184790ccf93c7ec.tar.xz
Fix cursor not being closed before txn was committed
Diffstat (limited to 'src')
-rw-r--r--src/Cache.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Cache.cpp b/src/Cache.cpp

index 189c5956..c651b61b 100644 --- a/src/Cache.cpp +++ b/src/Cache.cpp
@@ -1337,6 +1337,7 @@ Cache::runMigrations() megolmSessionData[indexVal.dump()] = data.dump(); } } + cursor.close(); inboundMegolmSessionDb.drop(txn, false); megolmSessionDataDb.drop(txn, false);