Commit Graph

8 Commits

Author SHA1 Message Date
Eric Rozell
b72bf77e25 fix(async): Changing all await calls to .ConfigureAwait(false)
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
2016-10-05 09:47:20 -04:00
Eric Rozell
9396824ba1 style(CodePush): Minor cosmetic changes throughout project (#549)
Includes the following changes:
* UpdateState.Lastest -> UpdateState.Latest
* Added *Async suffix to Task returning methods
* Using DateTimeOffset in MinimumBackgroundListener
* Disposing IDisposable streams in UpdateManager.DownloadPackage
2016-10-04 12:57:30 -07:00
Eric Rozell
12469a37ef Merge pull request #545 from rozele/appRestart
fix(AppRestart): Fix update-on-app-restart for UWP
2016-10-04 11:12:49 -07:00
Geoffrey Goh
0bd9afb3d5 Min -> Minimum 2016-05-06 10:26:40 -07:00
Geoffrey Goh
40b8c8ef41 CR feedback 2016-05-05 14:02:54 -07:00
Geoffrey Goh
08283efe2d CR feedback 2016-05-05 10:37:38 -07:00
Geoffrey Goh
15c72591fa get rid of CodePushUnknownException.cs 2016-05-04 18:36:13 -07:00
Geoffrey Goh
97b8233d26 CR feedback 2016-05-04 18:26:33 -07:00