Prevent double-decrementing reference count for conversation main status
This commit is contained in:
parent
f4f2a5546c
commit
9812d4aff2
|
@ -43,7 +43,6 @@ class ConversationTableViewController: EnhancedTableViewController {
|
||||||
}
|
}
|
||||||
|
|
||||||
deinit {
|
deinit {
|
||||||
mastodonController.persistentContainer.status(for: mainStatusID)?.decrementReferenceCount()
|
|
||||||
for (id, _) in statuses {
|
for (id, _) in statuses {
|
||||||
mastodonController.persistentContainer.status(for: id)?.decrementReferenceCount()
|
mastodonController.persistentContainer.status(for: id)?.decrementReferenceCount()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue