mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-15 19:27:56 +01:00
tsToken pass (#21202)
Pass the cancellation token so that it affects the delay process too
This commit is contained in:
@@ -270,7 +270,7 @@ namespace Microsoft.PowerToys.Settings.UI.Library.ViewModels
|
|||||||
|
|
||||||
if (!readSuccessfully)
|
if (!readSuccessfully)
|
||||||
{
|
{
|
||||||
Task.Delay(500).Wait();
|
Task.Delay(500, ts.Token).Wait(ts.Token);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user