mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-11-23 19:49:17 +08:00
tsToken pass (#21202)
Pass the cancellation token so that it affects the delay process too
This commit is contained in:
parent
7bbefe9ee7
commit
1d25e552d0
@ -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);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user