This commit is contained in:
JustArchi
2015-11-01 02:08:41 +01:00
parent 164240641b
commit 19e72c93c1
2 changed files with 3 additions and 3 deletions

View File

@@ -222,8 +222,8 @@ namespace ArchiSteamFarm {
}
await CardsFarmer.StopFarming().ConfigureAwait(false);
SteamClient.Disconnect();
IsRunning = false;
SteamClient.Disconnect();
}
private async Task<bool> Shutdown(string botNameToShutdown) {
@@ -359,7 +359,7 @@ namespace ArchiSteamFarm {
return;
}
if (callback.UserInitiated) {
if (!IsRunning) {
return;
}