mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-02 18:32:55 +00:00
Add main thread assertion in notification handler.
This commit is contained in:
1 parent
33be5c0f7a
commit
a3f6bfe621
1 file changed
+2
@@ -163,6 +163,8 @@ public protocol FaviconDownloaderDelegate {
|
||||
|
||||
@objc func didLoadFavicon(_ note: Notification) {
|
||||
|
||||
assert(Thread.isMainThread)
|
||||
|
||||
guard let singleFaviconDownloader = note.object as? SingleFaviconDownloader else {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user