mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 22:20:52 +00:00
Misc
This commit is contained in:
@@ -230,7 +230,7 @@ namespace ArchiSteamFarm.NLog {
|
||||
throw new ArgumentOutOfRangeException(nameof(secondsDelay));
|
||||
}
|
||||
|
||||
while (true) {
|
||||
while (!cancellationToken.IsCancellationRequested) {
|
||||
try {
|
||||
await Task.Delay(secondsDelay * 1000, cancellationToken).ConfigureAwait(false);
|
||||
} catch (TaskCanceledException) {
|
||||
|
||||
Reference in New Issue
Block a user