mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Close the resultSet in FetchAllUnreadCountsOperation.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user