This commit is contained in:
JustArchi
2019-04-10 22:03:18 +02:00
parent 7ebfbb6f31
commit 1674cbc5f1

View File

@@ -349,13 +349,13 @@ namespace ArchiSteamFarm {
await TradesSemaphore.WaitAsync().ConfigureAwait(false);
try {
lock (TradesSemaphore) {
ParsingScheduled = false;
}
bool lootableTypesReceived;
using (await Bot.Actions.GetTradingLock().ConfigureAwait(false)) {
lock (TradesSemaphore) {
ParsingScheduled = false;
}
lootableTypesReceived = await ParseActiveTrades().ConfigureAwait(false);
}