Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call the completions in the given callback queue when CompletionManager is getting deinitialized #503

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

haldun
Copy link
Contributor

@haldun haldun commented Oct 9, 2024

In CompletionManager.deinit we directly call each of the completions but instead we should use .execute to ensure that the completion closures are being called in the given queue.

@apollo-cla
Copy link

@haldun: Thank you for submitting a pull request! Before we can merge it, you'll need to sign the Apollo Contributor License Agreement here: https://contribute.apollographql.com/

Copy link

netlify bot commented Oct 9, 2024

👷 Deploy request for eclectic-pie-88a2ba pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 6a42d23

Copy link

netlify bot commented Oct 9, 2024

👷 Deploy request for apollo-ios-docc pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 6a42d23

@svc-apollo-docs
Copy link
Collaborator

❌ Docs Preview Failed

Error

HttpError: Resource not accessible by personal access token - https://docs.github.com/rest/commits/statuses#create-a-commit-status

@AnthonyMDev
Copy link
Contributor

Thanks for this PR! Would you be able to sign our CLA so we can merge this?

@Iron-Ham, this looks right to me, any concerns on your end?

@Iron-Ham
Copy link
Contributor

Iron-Ham commented Oct 9, 2024

@AnthonyMDev it looks good to me! @haldun committed this to our vendored ApolloPagination and is upstreaming the change.

@AnthonyMDev AnthonyMDev merged commit 4367585 into apollographql:main Oct 10, 2024
27 checks passed
BobaFetters pushed a commit that referenced this pull request Oct 10, 2024
BobaFetters pushed a commit to apollographql/apollo-ios-pagination that referenced this pull request Oct 10, 2024
BobaFetters pushed a commit that referenced this pull request Oct 10, 2024
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
BobaFetters pushed a commit that referenced this pull request Oct 10, 2024
…given callback queue when `CompletionManager` is getting deinitialized

git-subtree-dir: apollo-ios-pagination
git-subtree-mainline: 524d558
git-subtree-split: 5a63f769e6c99e084182e018a57e3b97a8bc7826
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants