From 20af0edd4db416a989265ad53da82609e4e36ee8 Mon Sep 17 00:00:00 2001 From: Archi Date: Fri, 15 Dec 2023 14:22:22 +0100 Subject: [PATCH] Misc --- ArchiSteamFarm/Steam/Bot.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ArchiSteamFarm/Steam/Bot.cs b/ArchiSteamFarm/Steam/Bot.cs index 8d62ba199e32c..7021841857b38 100644 --- a/ArchiSteamFarm/Steam/Bot.cs +++ b/ArchiSteamFarm/Steam/Bot.cs @@ -3298,6 +3298,8 @@ private async void OnRefreshTokensTimer(object? state = null) { if ((accessTokenValidUntil > DateTime.MinValue) && (accessTokenValidUntil > DateTime.UtcNow.AddMinutes(MinimumAccessTokenValidityMinutes))) { // We don't need to refresh just yet InitRefreshTokensTimer(accessTokenValidUntil); + + return; } await RefreshWebSession().ConfigureAwait(false);