mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-23 08:09:41 +01:00
Add main thread assertion in notification handler.
This commit is contained in:
parent
33be5c0f7a
commit
a3f6bfe621
@ -163,6 +163,8 @@ public protocol FaviconDownloaderDelegate {
|
||||
|
||||
@objc func didLoadFavicon(_ note: Notification) {
|
||||
|
||||
assert(Thread.isMainThread)
|
||||
|
||||
guard let singleFaviconDownloader = note.object as? SingleFaviconDownloader else {
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user