Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

fix(async): Changing all await calls to .ConfigureAwait(false) #554

Merged
merged 1 commit into from
Oct 5, 2016

Conversation

rozele
Copy link
Contributor

@rozele rozele commented Oct 5, 2016

The async calls in CodePush for ReactWindows can all be executed on any background thread, so adding .ConfigureAwait(false) can improve performance and reduce the likelihood of deadlock. The blocking calls in InitializeUpdateAfterRestart() were hanging, but now that .ConfigureAwait(false) is used pervasively, it is no longer a problem.

Fixes #550

The async calls in CodePush for ReactWindows can all be executed on any background thread, so adding .ConfigureAwait(false) can improve performance and reduce the likelihood of deadlock.  The blocking calls in `InitializeUpdateAfterRestart()` were hanging, but now that .ConfigureAwait(false) is used pervasively, it is no longer a problem.

Fixes microsoft#550
@msftclas
Copy link

msftclas commented Oct 5, 2016

Hi @rozele, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!


It looks like you're a Microsoft contributor (Eric Rozell). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

Copy link
Contributor

@richardhuaaa richardhuaaa left a comment

Choose a reason for hiding this comment

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

Thanks @rozele!

@richardhuaaa richardhuaaa merged commit b8fc75f into microsoft:master Oct 5, 2016
@rozele rozele deleted the issue550 branch October 6, 2016 14:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants