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

Update EmbeddedChannel state before notify connect and close promise. #241

Merged
merged 2 commits into from
Mar 27, 2018

Conversation

normanmaurer
Copy link
Member

Motivation:

We need to update isActive before notify the promises of connect and close to correctly refect Channel.isActive in callbacks.

Modifications:

  • Correctly update isActive before notify promises.
  • Add unit test.

Result:

Correct Channel state in callbacks.

Motivation:

We need to update isActive before notify the promises of connect and close to correctly refect Channel.isActive in callbacks.

Modifications:

- Correctly update isActive before notify promises.
- Add unit test.

Result:

Correct Channel state in callbacks.
@normanmaurer normanmaurer requested review from weissi and Lukasa March 26, 2018 19:34
@normanmaurer normanmaurer added the 🔨 semver/patch No public API change. label Mar 26, 2018
@normanmaurer normanmaurer added this to the 1.4.0 milestone Mar 26, 2018
Copy link
Member

@weissi weissi left a comment

Choose a reason for hiding this comment

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

that makes sense, thanks :)

@normanmaurer normanmaurer merged commit 5eb2132 into apple:master Mar 27, 2018
@normanmaurer normanmaurer deleted the embedded_promise_notification branch March 27, 2018 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 semver/patch No public API change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants