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

RequestChain error handling callback queue #1468

Merged
merged 1 commit into from
Oct 24, 2020
Merged

RequestChain error handling callback queue #1468

merged 1 commit into from
Oct 24, 2020

Conversation

ejensen
Copy link
Contributor

@ejensen ejensen commented Oct 23, 2020

Ensures the additionalErrorHandler's completion is called on the correct callbackQueue.

This fixes a threading error where the RequestChain does not complete on the specified callbackQueue due to the queue not being used in the case that there's an additionalErrorHandler specified.

@apollo-cla
Copy link

@ejensen: 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
Contributor

@designatednerd designatednerd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ooh, good eye. Question on the implementation for ya.

Sources/Apollo/RequestChain.swift Outdated Show resolved Hide resolved
@designatednerd designatednerd added this to the Next Release milestone Oct 24, 2020
@designatednerd designatednerd merged commit 4bf0714 into apollographql:main Oct 24, 2020
@ejensen ejensen deleted the error-queue branch October 26, 2020 03:38
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.

3 participants