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))); }