mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 06:00:46 +00:00
Misc
This commit is contained in:
@@ -325,15 +325,16 @@ namespace ArchiSteamFarm {
|
||||
|
||||
KeepFarming = false;
|
||||
|
||||
if (FarmingResetSemaphore.CurrentCount == 0) {
|
||||
FarmingResetSemaphore.Release();
|
||||
}
|
||||
for (byte i = 0; (i < byte.MaxValue) && NowFarming; i++) {
|
||||
if (FarmingResetSemaphore.CurrentCount == 0) {
|
||||
FarmingResetSemaphore.Release();
|
||||
}
|
||||
|
||||
for (byte i = 0; (i < WebBrowser.MaxTries) && NowFarming; i++) {
|
||||
await Task.Delay(1000).ConfigureAwait(false);
|
||||
}
|
||||
|
||||
if (NowFarming) {
|
||||
Bot.ArchiLogger.LogGenericError(Strings.WarningFailed);
|
||||
NowFarming = false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user