This commit is contained in:
JustArchi
2016-10-27 22:51:44 +02:00
parent aba96e3d08
commit fcfbd2453d
3 changed files with 5 additions and 1 deletions

View File

@@ -52,6 +52,8 @@ namespace ArchiSteamFarm {
private static bool ShutdownSequenceInitialized;
internal static bool IsWCFRunning => WCF.IsServerRunning;
internal static void Exit(byte exitCode = 0) {
Shutdown();
Environment.Exit(exitCode);