Tusker/Tusker
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
..
Activities Store an array of logged-in accounts internally, get the active 2020-01-07 21:29:15 -05:00
Assets.xcassets Add app icon 2020-03-01 13:11:09 -05:00
Base.lproj iOS 13 Dark Mode Support 2019-06-04 13:31:05 -04:00
Caching Improve ImageCache loading 2020-01-25 10:30:04 -05:00
Controllers Store an array of logged-in accounts internally, get the active 2020-01-07 21:29:15 -05:00
Extensions Remove old code 2020-02-28 19:24:14 -05:00
Preferences Add preference to disable gif animation in timelines 2020-02-22 13:12:28 -05:00
Screens Temporary fix for crash that occurs when switching accounts immediately 2020-02-29 17:36:54 -05:00
Shortcuts Only show local posts on public instance timelines 2020-01-25 10:37:22 -05:00
Views Fix intermittent crash 2020-03-01 18:33:44 -05:00
XCallbackURL Store an array of logged-in accounts internally, get the active 2020-01-07 21:29:15 -05:00
AppDelegate.swift Switch to scene-based lifecycle events 2020-01-07 18:39:19 -05:00
DomainBlocks.plist Block gab.* domains from logging in 2019-06-19 19:12:42 -04:00
DraftsManager.swift Change drafts to store which accounts was used to create them 2020-01-20 15:26:25 -05:00
Info.plist Change version, disable UI test web server temporarily 2020-03-01 18:23:10 -05:00
LocalData.swift Change drafts to store which accounts was used to create them 2020-01-20 15:26:25 -05:00
MastodonCache.swift Fix retain cycle between MastodonController/MastodonCache 2020-01-19 23:14:13 -05:00
SavedDataManager.swift Change saved hashtags/instances to be per-account 2020-01-20 11:48:47 -05:00
SceneDelegate.swift Clean up account switching code 2020-01-19 11:52:06 -05:00
TuskerNavigationDelegate.swift Improve large image/gallery animation handling when images aren't loaded 2020-01-25 22:29:12 -05:00