Skip to content

Commit d0e662e

Browse files
gh-action-runnergh-action-runner
authored andcommitted
Squashed 'apollo-ios-pagination/' changes from 2eaa5422..5a63f769
5a63f769 Call the completions in the given callback queue when `CompletionManager` is getting deinitialized (#503) git-subtree-dir: apollo-ios-pagination git-subtree-split: 5a63f769e6c99e084182e018a57e3b97a8bc7826
1 parent 2ddea40 commit d0e662e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/ApolloPagination/GraphQLQueryPagerCoordinator.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,6 @@ private actor CompletionManager {
244244
}
245245

246246
deinit {
247-
completions.forEach { $0.completion?(PaginationError.cancellation) }
247+
completions.forEach { $0.execute(error: PaginationError.cancellation) }
248248
}
249249
}

0 commit comments

Comments
 (0)