Tusker/Tusker/Views
Shadowfacts 244659c262
Fix intermittent crash
If a status in a conversation view controller creates a work item to
update the timestamp in 1 minute, but the view controller is deinit'd
before that time elapses, the mastodonController instance will be nil,
resulting in a crash.

The DispatchWorkItems's are cancelled by the respective cell deinit
methods. But if the work item has already begun, cancelling it has no
effect, potentially leading to a crash in the conditions described above
are true. Using a weak reference to self fixes this.

Additionally, don't unnecessarily recreate the work items every time.
They don't capture any local variables, only self, so nothing changes.
2020-03-01 18:33:44 -05:00
..
Account Cell Improve ImageCache loading 2020-01-25 10:30:04 -05:00
Account Detail Improve ImageCache loading 2020-01-25 10:30:04 -05:00
Asset Picker Replace GMImagePicker with custom asset picker based on SheetController 2020-01-04 16:25:15 -05:00
Attachments Add preference to disable gif animation in timelines 2020-02-22 13:12:28 -05:00
Compose Media Fix retain cycles with TuskerNavigationDelegate 2020-01-19 23:02:07 -05:00
Compose Status Reply Improve ImageCache loading 2020-01-25 10:30:04 -05:00
Hashtag Cell Fix retain cycles with TuskerNavigationDelegate 2020-01-19 23:02:07 -05:00
Instance Cell Improve ImageCache loading 2020-01-25 10:30:04 -05:00
Notifications Fix intermittent crash 2020-03-01 18:33:44 -05:00
Profile Header Update profile header to always reflect most recently cached data 2020-02-28 19:47:31 -05:00
Silent Action Permissions Add preferences UI for silent XCB actions 2018-09-30 19:05:06 -04:00
Status Fix intermittent crash 2020-03-01 18:33:44 -05:00
BasicTableViewCell.xib Replace Search tab with Explore tab 2019-12-17 00:22:25 -05:00
ContentTextView.swift Improve ImageCache loading 2020-01-25 10:30:04 -05:00
InlineTextAttachment.swift Add notifications screen 2018-09-03 16:54:03 -04:00
LinkTextView.swift Enable text selection in conversation main status 2020-01-18 16:18:32 -05:00
NavigableTableViewCell.swift Use same nav delegate more options for context menu share sheet 2019-12-14 13:36:05 -05:00
SelectableTableViewCell.swift Fix tablel view cells being re-selected on aborted nav swipe back 2019-12-14 11:59:31 -05:00
StatusContentTextView.swift Merge branch 'master' into multiple-accounts 2020-01-18 18:56:36 -05:00
SteppedProgressView.swift Add post progress view 2018-09-12 09:19:51 -04:00