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:
8
damus/Models/Mute/MuteManager.swift
Normal file
8
damus/Models/Mute/MuteManager.swift
Normal file
@@ -0,0 +1,8 @@
|
||||
//
|
||||
// MuteManager.swift
|
||||
// damus
|
||||
//
|
||||
// Created by William Casarin on 2024-01-25.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
Reference in New Issue
Block a user