mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-02-02 10:49:46 +00:00
Bugfix
This commit is contained in:
@@ -222,8 +222,8 @@ namespace ArchiSteamFarm {
|
|||||||
}
|
}
|
||||||
|
|
||||||
await CardsFarmer.StopFarming().ConfigureAwait(false);
|
await CardsFarmer.StopFarming().ConfigureAwait(false);
|
||||||
SteamClient.Disconnect();
|
|
||||||
IsRunning = false;
|
IsRunning = false;
|
||||||
|
SteamClient.Disconnect();
|
||||||
}
|
}
|
||||||
|
|
||||||
private async Task<bool> Shutdown(string botNameToShutdown) {
|
private async Task<bool> Shutdown(string botNameToShutdown) {
|
||||||
@@ -359,7 +359,7 @@ namespace ArchiSteamFarm {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (callback.UserInitiated) {
|
if (!IsRunning) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ namespace ArchiSteamFarm {
|
|||||||
private static readonly ManualResetEvent ShutdownResetEvent = new ManualResetEvent(false);
|
private static readonly ManualResetEvent ShutdownResetEvent = new ManualResetEvent(false);
|
||||||
private static readonly Assembly Assembly = Assembly.GetExecutingAssembly();
|
private static readonly Assembly Assembly = Assembly.GetExecutingAssembly();
|
||||||
private static readonly string ExecutablePath = Assembly.Location;
|
private static readonly string ExecutablePath = Assembly.Location;
|
||||||
private static readonly AssemblyName AssemblyName = Assembly.GetName();
|
private static readonly AssemblyName AssemblyName = Assembly.GetName();
|
||||||
private static readonly string ExeName = AssemblyName.Name + ".exe";
|
private static readonly string ExeName = AssemblyName.Name + ".exe";
|
||||||
private static readonly string Version = AssemblyName.Version.ToString();
|
private static readonly string Version = AssemblyName.Version.ToString();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user