diff --git a/src/settings-ui/Settings.UI.Library/ViewModels/KeyboardManagerViewModel.cs b/src/settings-ui/Settings.UI.Library/ViewModels/KeyboardManagerViewModel.cs index 08a8368951..cbf03f2b06 100644 --- a/src/settings-ui/Settings.UI.Library/ViewModels/KeyboardManagerViewModel.cs +++ b/src/settings-ui/Settings.UI.Library/ViewModels/KeyboardManagerViewModel.cs @@ -270,7 +270,7 @@ namespace Microsoft.PowerToys.Settings.UI.Library.ViewModels if (!readSuccessfully) { - Task.Delay(500).Wait(); + Task.Delay(500, ts.Token).Wait(ts.Token); } } });