From 1ba2880071eb03e69ca094d4188c37045278fb6c Mon Sep 17 00:00:00 2001 From: Archi Date: Tue, 28 Dec 2021 23:50:02 +0100 Subject: [PATCH] Good catch --- 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 dec00edb5..f79285ca9 100644 --- a/ArchiSteamFarm/Steam/Bot.cs +++ b/ArchiSteamFarm/Steam/Bot.cs @@ -1894,7 +1894,7 @@ public sealed class Bot : IAsyncDisposable { } private async Task HandleCallbacks() { - if (!await CallbackSemaphore.WaitAsync(CallbackSleep)) { + if (!await CallbackSemaphore.WaitAsync(CallbackSleep).ConfigureAwait(false)) { if (Debugging.IsUserDebugging) { ArchiLogger.LogGenericDebug(string.Format(CultureInfo.CurrentCulture, Strings.WarningFailedWithError, nameof(CallbackSemaphore))); }