From ce4b41ee739f028e74688ce8764b2418b1a3a8e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Domeradzki?= Date: Tue, 6 Aug 2024 12:04:52 +0200 Subject: [PATCH] Misc --- ArchiSteamFarm/Steam/Bot.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArchiSteamFarm/Steam/Bot.cs b/ArchiSteamFarm/Steam/Bot.cs index 7b925322564b9..185f59b8111bf 100644 --- a/ArchiSteamFarm/Steam/Bot.cs +++ b/ArchiSteamFarm/Steam/Bot.cs @@ -2056,7 +2056,7 @@ private async Task Destroy(bool force = false) { if (callbacksAborted is { IsCancellationRequested: false }) { Utilities.InBackground( async () => { - await Task.Delay(5000, CancellationToken.None).ConfigureAwait(false); + await Task.Delay(CallbackSleep * WebBrowser.MaxTries, CancellationToken.None).ConfigureAwait(false); try { await callbacksAborted.CancelAsync().ConfigureAwait(false);