mirror of
git://jb55.com/damus
synced 2024-09-29 08:20:45 +00:00
bfad2ab42d
Since there may be situations where we close and re-open the database,
we need to make sure transactions fail when the database is not open.
Make NdbTxn an init?() constructor and check for ndb.closed. If it's
closed, then fail transaction construction.
This fixes crashes during high database activity when switching from
background to foreground and vice-versa.
Fixes:
|
||
---|---|---|
.. | ||
DamusNotificationService.entitlements | ||
Info.plist | ||
NotificationExtensionState.swift | ||
NotificationFormatter.swift | ||
NotificationService.swift |