We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d4828e1 + 54c413e commit e4d6250Copy full SHA for e4d6250
src/TwitchStreamingTools/Views/WindowsTitleBar.axaml.cs
@@ -110,7 +110,9 @@ private async void SubscribeToWindowState() {
110
111
while (hostWindow == null) {
112
hostWindow = VisualRoot as Window;
113
- await Task.Delay(50).ConfigureAwait(false);
+
114
+ // Need to stay on the GUI thread.
115
+ await Task.Delay(50).ConfigureAwait(true);
116
}
117
118
hostWindow.GetObservable(Window.WindowStateProperty).Subscribe(s => {
0 commit comments