txn: do not close txn if database is already closed
This is a potential fix for some of the crash reports that have been streaming in. They all seem to be crashing within ndb_close_txn. I suspect this means that the transactions are trying to get closed when ndb is already closed. Closing Ndb will close the transactions automatically, so it looks like we might be trying to close twice.
This commit is contained in:
1 parent
0f307ab8d5
commit
56b1efc6f1
2 files changed
+16
-5
No files matched your search
@@ -0,0 +1,8 @@
|
||||
//
|
||||
// MuteManager.swift
|
||||
// damus
|
||||
//
|
||||
// Created by William Casarin on 2024-01-25.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
Reference in new issue
Block a user