mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-16 08:25:28 +00:00
Misc
This commit is contained in:
@@ -426,7 +426,11 @@ namespace ArchiSteamFarm {
|
||||
private void Stop() {
|
||||
Logging.LogGenericInfo("Stopping...", BotName);
|
||||
KeepRunning = false;
|
||||
SteamClient.Disconnect();
|
||||
|
||||
if (SteamClient.IsConnected) {
|
||||
SteamClient.Disconnect();
|
||||
}
|
||||
|
||||
Program.OnBotShutdown();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user