From a5bf148d82f83a0126f4459496abd5a78128d13b Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Sun, 7 Jul 2019 13:42:24 -0700 Subject: [PATCH] =?UTF-8?q?Make=20Transport=20callbacks=20run=20on=20the?= =?UTF-8?q?=20main=20thread,=20which=20is=20consistent=20with=20NetNewsWir?= =?UTF-8?q?e=E2=80=99s=20general=20pattern=20for=20these=20types=20of=20ca?= =?UTF-8?q?llbacks.=20This=20helps=20avoid=20situations=20where=20we=20tou?= =?UTF-8?q?ch=20model=20objects=20(which=20are=20main-thread-only)=20on=20?= =?UTF-8?q?a=20background=20thread.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Frameworks/Account/Feedbin/FeedbinAccountDelegate.swift | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Frameworks/Account/Feedbin/FeedbinAccountDelegate.swift b/Frameworks/Account/Feedbin/FeedbinAccountDelegate.swift index 3b7d7894a..961c12263 100644 --- a/Frameworks/Account/Feedbin/FeedbinAccountDelegate.swift +++ b/Frameworks/Account/Feedbin/FeedbinAccountDelegate.swift @@ -816,9 +816,7 @@ private extension FeedbinAccountDelegate { for feed in account.flattenedFeeds() { for (key, value) in iconDict { if feed.homePageURL?.contains(key) ?? false { - DispatchQueue.main.sync { - feed.faviconURL = value - } + feed.faviconURL = value break } }