mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-02-03 20:37:34 +01:00
Close the resultSet in FetchAllUnreadCountsOperation.
This commit is contained in:
parent
6d8d828fd2
commit
26efb8895c
@ -59,6 +59,7 @@ private extension FetchAllUnreadCountsOperation {
|
||||
var d = UnreadCountDictionary()
|
||||
while resultSet.next() {
|
||||
if isCanceled {
|
||||
resultSet.close()
|
||||
informOperationDelegateOfCompletion()
|
||||
return
|
||||
}
|
||||
@ -67,6 +68,7 @@ private extension FetchAllUnreadCountsOperation {
|
||||
d[webFeedID] = unreadCount
|
||||
}
|
||||
}
|
||||
resultSet.close()
|
||||
|
||||
unreadCountDictionary = d
|
||||
informOperationDelegateOfCompletion()
|
||||
|
Loading…
x
Reference in New Issue
Block a user