This commit is contained in:
JustArchi
2018-04-13 09:19:10 +02:00
parent 66c80e618f
commit 52ac922e97

View File

@@ -1934,7 +1934,7 @@ namespace ArchiSteamFarm {
if (!WebLimitingSemaphores.TryGetValue(service, out SemaphoreSlim semaphore)) {
ASF.ArchiLogger.LogGenericError(string.Format(Strings.WarningUnknownValuePleaseReport, nameof(service), service));
return default;
return await function().ConfigureAwait(false);
}
await semaphore.WaitAsync().ConfigureAwait(false);