mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Merge pull request #1511 from kielgillard/feedly-operation-fixup
Indicate FeedlyOperation is asychronous.
This commit is contained in:
@@ -11,5 +11,5 @@ import Foundation
|
||||
struct FeedlyOrigin: Decodable {
|
||||
var title: String?
|
||||
var streamId: String?
|
||||
var htmlUrl: String
|
||||
var htmlUrl: String?
|
||||
}
|
||||
|
||||
@@ -29,6 +29,10 @@ class FeedlyOperation: Operation {
|
||||
}
|
||||
}
|
||||
|
||||
override var isAsynchronous: Bool {
|
||||
return true
|
||||
}
|
||||
|
||||
func didFinish() {
|
||||
assert(Thread.isMainThread)
|
||||
assert(!isFinished, "Finished operation is attempting to finish again.")
|
||||
|
||||
Reference in New Issue
Block a user