Skip to content

Commit 2affe21

Browse files
Merge pull request #106 from nullinside-development-group/chore/await
chore: configureawait
2 parents 656a019 + 3d62f40 commit 2affe21

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/TwitchStreamingTools/Views/MainWindow.axaml.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ protected override void OnInitialized() {
5656
// check for a new version of the application.
5757
Task.Factory.StartNew(async () => {
5858
GithubLatestReleaseJson? serverVersion =
59-
await GitHubUpdateManager.GetLatestVersion("nullinside-development-group", "twitch-streaming-tools");
59+
await GitHubUpdateManager.GetLatestVersion("nullinside-development-group", "twitch-streaming-tools").ConfigureAwait(false);
6060
if (null == serverVersion || string.IsNullOrWhiteSpace(serverVersion.name)) {
6161
return;
6262
}
@@ -82,7 +82,7 @@ protected override void OnInitialized() {
8282
DataContext = vm
8383
};
8484

85-
await versionWindow.ShowDialog(this);
85+
await versionWindow.ShowDialog(this).ConfigureAwait(false);
8686
}
8787
catch {
8888
// do nothing, don't crash

0 commit comments

Comments
 (0)