Fix cursor not being closed before txn was committed

This commit is contained in:
Joseph Donofry 2022-04-14 19:23:12 -04:00
parent c3efab43fb
commit f688e15379
1 changed files with 1 additions and 0 deletions

View File

@ -1337,6 +1337,7 @@ Cache::runMigrations()
megolmSessionData[indexVal.dump()] = data.dump();
}
}
cursor.close();
inboundMegolmSessionDb.drop(txn, false);
megolmSessionDataDb.drop(txn, false);